Antoine Grondin
3737b3267e
logrus: remove test for dbg alias in ParseLevel.
2014-09-24 23:23:01 -04:00
Simon Eskildsen
4617ccb653
Merge pull request #62 from mohae/setloglevel
...
added support for setting log level using strings: SetLogLevel()
2014-09-24 23:09:09 -04:00
Antoine Grondin
dc01f6d597
add regression for basic fields being incorrectly prefixed
2014-09-21 13:16:35 -04:00
Joel Scoble
4e6e671281
add ParseLevel to get Level from string
2014-09-17 20:08:23 -05:00
Simon Eskildsen
40069a98d6
entry: break out time, level and message from data
2014-07-26 21:34:29 -04:00
Simon Eskildsen
cd8fc638cc
levels: add string helper
2014-07-26 21:02:08 -04:00
Shuhao Wu
7a3a90cb3d
Added test
2014-06-09 11:54:10 -04:00
Simon Eskildsen
f8afa65d86
test: remove temporary benchmarks
2014-05-03 20:31:11 -04:00
Simon Eskildsen
d85ac80aa9
entry: log with spaces between all operands on *ln #25
2014-05-03 20:20:07 -04:00
Anthony Bishopric
9f6da0e77c
Defer formatting of log values in Levelf(), Levelln()
...
The Level() family of log methods defer formatting of log
values until it is confident that the log level needs them.
This change allows that deferral to happen at the Levelf()
and Levelln() levels too.
This commit also adds benchmarks to demonstrate the improved
performance of these functions
2014-03-25 14:54:31 -07:00
Simon Eskildsen
53371e3664
Add features from README
2014-03-10 19:22:08 -04:00