Alex Bramley
1df07d2ff6
Hmm, slice out of range error, wtf x2.
2011-10-22 16:42:24 +01:00
Alex Bramley
ebc34cdce5
Hmm, slice out of range error, wtf.
2011-10-22 16:40:47 +01:00
Alex Bramley
4ee7aac968
oops, this is not a Logger.
2011-10-22 16:18:57 +01:00
Alex Bramley
dee808a263
Move logger mocks to a non-test file so they can be used elsewhere.
2011-10-22 16:15:46 +01:00
Alex Bramley
2467e5cc93
More tests for the logging package.
2011-10-22 15:43:13 +01:00
Alex Bramley
c769723596
Rewrite logging package for great justice.
...
Allowing people to use the static functions to log things makes testing
hard, so I've removed them. I've also rewritten things to allow logging
different levels to separate files.
2011-10-22 12:06:18 +01:00
Alex Bramley
9773b47969
Maintain constant call depth in logging to ensure correct line numbers. More tests needed, too lazy.
2011-09-29 22:45:26 +01:00
Alex Bramley
26a482d8ea
Using two flagsets on os.Args causes confusion.
2011-09-29 21:31:05 +01:00
Alex Bramley
d07471b93a
Simpleish level-based logging library and the start of some tests.
2011-09-28 23:47:30 +01:00