Christian Schwarz
261d095108
logger: support forking of outlets
...
refs #10
2017-12-27 13:50:07 +01:00
Christian Schwarz
2bfcfa5be8
logging: first outlet receives logger error message
...
Abandons stderr special-casing:
* looks weird on shell and IO redirection to same file because of
interleaving of stdout and stderr
* better than a separate dedicated outlet because it does not require
additional configuration
fixes #28
BREAK SEMANTICS CONFIG
2017-11-17 00:25:38 +01:00
Christian Schwarz
a7f70a566d
logger: write internal / outlet errors to an error outlet
...
refs #28
2017-11-16 23:49:47 +01:00
Christian Schwarz
493a01c4fe
logger: fix nil pointer deref in WithError
...
fixes #9
2017-10-05 21:23:39 +02:00
Christian Schwarz
45670a7e5d
make vet happy: 'don't leak contexts'
2017-09-30 16:39:52 +02:00
Christian Schwarz
0cbee78b40
fix unreachable code & missing stringer-generated code
2017-09-30 16:31:55 +02:00
Christian Schwarz
7c86628f3b
logger: json serialization of log level is a string
2017-09-24 19:39:44 +02:00
Christian Schwarz
e0e362c4ff
dump logrus and roll our own logger instead
2017-09-24 00:57:52 +02:00