Alex Bramley
aa12177399
My mock is clunky for external use, but works well for internal testing. Switch to gomock.
2011-11-05 09:27:44 +00:00
Alex Bramley
4ee7aac968
oops, this is not a Logger.
2011-10-22 16:18:57 +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