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 |
David Bariod
|
3e01752db0
|
Merge branch 'moriyoshi/refix-707' of git://github.com/moriyoshi/logrus into fix_firehooks
|
2018-07-21 09:00:01 +02:00 |
David Bariod
|
6999e59e73
|
properly fix the hooks race test
|
2018-07-20 13:16:19 +02: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 |
David Bariod
|
8369e2f077
|
Fix a race condition in TestLoggingWithHooksRace
|
2018-05-12 15:52:19 +02:00 |
Jay Ching Lim
|
be569094e9
|
Make fireHooks() method receive a copy of Entry structure to avoid race conditions
Signed-off-by: Jay Ching Lim <imjching@users.noreply.github.com>
|
2018-02-12 17:26:48 -05: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
|
0143a90f6e
|
Extended test.
|
2016-02-22 10:46:52 +01:00 |
Joern Barthel
|
be4b44b806
|
Added test hook.
|
2016-02-22 10:46:52 +01:00 |