Commit Graph

11 Commits

Author SHA1 Message Date
Albert Salim 99bc300c8d Add a method Exit on Logger that calls `os.Exit` or alternate exit function.
This keeps backward compatibility for static declaration of logger
that does not specify `ExitFunc` field.
2018-10-10 21:54:15 +08:00
Albert Salim 2be620216a Add option to panic in `test.NewNullLogger` to allow testing of
calls to `Fatal*`

See #813
2018-10-06 18:08:19 +08:00
Moriyoshi Koizumi 070c81def3 Revert the change introduced in #707 and do the proper fix. Fixes #729 2018-05-30 09:50:59 +00:00
Tomas Doran 0afea37159 Update due to rename of github account 2017-05-19 13:00:16 +01:00
Simon Eskildsen acfabf31db logrus: use lower-case in comments and examples 2017-05-12 15:21:58 -04:00
Jonathan Hall 7e4197a54f Add a small warning comment 2017-04-20 09:44:21 +02:00
Jonathan Hall cc6ca6f305 Protect test entries with a mutex 2017-04-20 09:44:21 +02:00
Jonathan Hall ab2de9ffb1 Fix a few comments to conform to Go standards 2017-04-20 09:29:15 +02:00
Simon Eskildsen 26809363aa Revert "Merge pull request #384 from mnzt/master"
This reverts commit 42b84f9ec6, reversing
changes made to cf60a8c5d5.
2016-12-01 18:53:16 -05:00
Toby a5dbcc756c
Renaming 'Sirupsen' to 'sirupsen' 2016-07-18 16:36:46 +01:00
Joern Barthel be4b44b806 Added test hook. 2016-02-22 10:46:52 +01:00