Nate Finch
|
a6f35bab25
|
Update README.md
update with new, windows-friendly filename format.
|
2014-06-24 08:51:25 -04:00 |
|
Nate Finch
|
d4187366d3
|
Update example to not use a filename that causes problems on windows and split out rotate example into its own file, since it's the only thing that is linux-only
|
2014-06-24 08:50:20 -04:00 |
|
Nate Finch
|
8ec9c6b748
|
Update .travis.yml
had to update travis config since it doesn't use go get -t, so it doesn't get dependencies that only exist in test files.
|
2014-06-18 14:30:00 -04:00 |
|
Nate Finch
|
9b971d9efa
|
add tests for yaml and toml in addition to the existing json test
|
2014-06-18 14:16:12 -04:00 |
|
Nate Finch
|
72cc861377
|
Change definition of maxage to make it easier (i.e. possible) to load from a json/yaml/etc
|
2014-06-18 08:09:40 -04:00 |
|
Nate Finch
|
06f4f4ea5e
|
go back to using defer to unlock in close and rotate
|
2014-06-16 15:29:37 -04:00 |
|
Nate Finch
|
ffd1aed5ff
|
make the code in Write a little more logical, and add a missing test, though the code worked correctly before.
|
2014-06-16 13:24:02 -04:00 |
|
Nate Finch
|
fc6790d66f
|
refactor internally a little to clean up the code. Make the main example a real example so we make sure it compiles
|
2014-06-16 12:55:21 -04:00 |
|
Nate Finch
|
03e9c77b42
|
remove erroneous old comment
|
2014-06-16 09:52:57 -04:00 |
|
Nate Finch
|
7067ec8bae
|
Merge branch 'master' of https://github.com/natefinch/lumberjack
|
2014-06-16 09:46:11 -04:00 |
|
Nate Finch
|
819bdb463d
|
better version of check for io.WriteCloser
|
2014-06-16 09:46:03 -04:00 |
|
Nate Finch
|
296e7b31f2
|
Update README.md
|
2014-06-16 07:23:11 -04:00 |
|
Nate Finch
|
26f86e4c4e
|
Update README.md
|
2014-06-16 07:22:06 -04:00 |
|
Nate Finch
|
20a6506830
|
readme again
|
2014-06-16 07:20:18 -04:00 |
|
Nate Finch
|
ffdf92b04f
|
Merge branch 'master' of https://github.com/natefinch/lumberjack
|
2014-06-16 07:19:31 -04:00 |
|
Nate Finch
|
922e686512
|
add example of rotating in response to sighup
|
2014-06-16 07:19:10 -04:00 |
|
Nate Finch
|
06ce2e3d7a
|
Update README.md
|
2014-06-16 06:57:52 -04:00 |
|
Nate Finch
|
35a206f7bd
|
update readme's godoc
|
2014-06-16 06:57:35 -04:00 |
|
Nate Finch
|
6412f2cf51
|
move mutex to unexported field
|
2014-06-16 06:56:15 -04:00 |
|
Nate Finch
|
cf9adaef63
|
Revert "move mutex to unexported field"
This reverts commit 86271c05bd.
|
2014-06-16 06:54:51 -04:00 |
|
Nate Finch
|
86271c05bd
|
move mutex to unexported field
|
2014-06-16 06:50:55 -04:00 |
|
Nate Finch
|
e58437d7ea
|
Update README.md
|
2014-06-16 06:49:32 -04:00 |
|
Nate Finch
|
5aff0e0bbf
|
add locks and the Rotate() function. Remove IsWriteTooLong function. Fix a bug in the link to time constants.
|
2014-06-16 06:48:32 -04:00 |
|
Nate Finch
|
245c33893c
|
add code for always opening new with default dir and name. with test.
|
2014-06-15 08:53:04 -04:00 |
|
Nate Finch
|
29a1a3fa69
|
make golint happy
|
2014-06-15 08:14:23 -04:00 |
|
Nate Finch
|
625d6c6216
|
minor wording update
|
2014-06-15 08:12:37 -04:00 |
|
Nate Finch
|
2e9c10753f
|
Update README.md
add godoc link
|
2014-06-15 08:08:08 -04:00 |
|
Nate Finch
|
f6194c9bf7
|
travis stuff
|
2014-06-15 07:59:44 -04:00 |
|
Nate Finch
|
4909611b75
|
more tests for better coverage
|
2014-06-15 07:48:15 -04:00 |
|
Nate Finch
|
ce1012af58
|
update readme
|
2014-06-15 07:03:23 -04:00 |
|
Nate Finch
|
1781f71455
|
update readme
|
2014-06-15 06:59:40 -04:00 |
|
Nate Finch
|
1bb33e2fca
|
more tests and fixed a bug the tests found. Cleaned up the documentation. Renamed Backups to MaxBackups.
|
2014-06-15 06:57:23 -04:00 |
|
Nate Finch
|
944464c29a
|
MIT License
|
2014-06-14 08:32:16 -04:00 |
|
Nate Finch
|
814d136090
|
update readme with godoc
|
2014-06-14 08:31:35 -04:00 |
|
Nate Finch
|
1c3db7d9ea
|
initial code
|
2014-06-14 07:57:17 -04:00 |
|
Nate Finch
|
79e51fbec1
|
Initial commit
|
2014-06-14 07:55:47 -04:00 |
|