Commit Graph

851 Commits

Author SHA1 Message Date
David Bariod 7556e245e2 Use syslog instead of airbrake as syslog example
The purpose is to reduce package dependencies, fixes #809.
2018-09-02 20:22:06 +02:00
David Bariod 78fa2915c1
Merge pull request #812 from sirupsen/bump_go_version_travis
bump go toolchain version in travis
2018-08-30 22:11:51 +02:00
David Bariod e58aa84bc1 bump go toolchain version in travis 2018-08-30 22:06:53 +02:00
David Bariod 56da607151
Merge pull request #811 from sirupsen/add_changelog
Add previously forgotten v1.0.6 description in changelog
2018-08-30 07:21:54 +02:00
David Bariod 98d0f313fe Add previously forgotten v1.0.6 description in changelog
fixes #802
2018-08-30 07:17:54 +02:00
David Bariod 51df1d3148
Merge pull request #762 from lhauspie/master
feat: new methods to check enabled log level
2018-08-27 07:22:11 +02:00
Logan HAUSPIE 90bf2e7f39
feat(LogLevel): taking in account code review from David Bariod 2018-08-27 00:16:06 +02:00
Logan HAUSPIE 0ab534bf6c
Merge remote-tracking branch 'upstream/master' 2018-08-26 23:36:08 +02:00
David Bariod 49fbef4694
Merge pull request #647 from ChimeraCoder/logger-docstring
Fix typo in docstring
2018-08-26 21:09:48 +02:00
David Bariod b24eae79a4 Merge branch 'hooks_replace' of git://github.com/betrok/logrus into betrok-hooks_replace 2018-08-26 20:44:53 +02:00
David Bariod 2c7fc976fe Merge remote-tracking branch 'upstream/master' 2018-08-26 20:12:16 +02:00
betrok 13d10d8d89 return old hooks from RelplaceHooks 2018-08-26 14:40:51 +03:00
David Bariod 3ed92f8c1f Merge branch 'cleanup-exported' of git://github.com/conjmurph/logrus into conjmurph-cleanup-exported 2018-08-26 11:58:08 +02:00
David Bariod 0908e58e06
Merge pull request #685 from HectorMalot/master
TextFormatter behaviour aligned with stdlib log (fixes #167)
2018-08-26 11:06:30 +02:00
betrok 7a0120e2c6 logger.ReplaceHooks 2018-08-22 12:10:05 +03:00
Aaron Greenlee fc587f31c8
Merge pull request #798 from cheungpat/gopherjs-compat
Fix GopherJS build tags
2018-08-16 21:25:29 -04:00
David Bariod e4b0c6d782
Merge pull request #800 from sirupsen/nolith-clicolor
Add CLICOLOR suport. Rework on #787
2018-08-13 17:35:01 +02:00
David Bariod b5e6fae4fb Cleanup on unit test on isColored 2018-08-13 17:27:32 +02:00
David Bariod cadf2ceaf8 Add unit test for TextFormatter.isColored 2018-08-09 15:01:49 +02:00
David Bariod eb968b6506 Fix for CLICOLOR_FORCE handling 2018-08-09 15:00:46 +02:00
Dennis 8a6a17c003
Fixed missing brace after wrong merge 2018-08-05 22:40:58 +02:00
Dennis f9ef1703ff
Merge branch 'master' into master 2018-08-05 22:34:28 +02:00
Kwok-kuen Cheung d950ecd55b Remove unnecessary text_formatter file 2018-08-06 00:43:58 +08:00
Kwok-kuen Cheung da39da2348 Keep terminal check naming convention 2018-08-06 00:43:49 +08:00
Alessio Caiazza 37d651c1f2 Add CLICOLOR support
This implement CLICOLOR and CLICOLOR_FORCE check on terminal coloring
as defined in https://bixense.com/clicolors/
2018-08-01 17:37:01 +02:00
David Bariod d329d24db4
Merge pull request #796 from sirupsen/fix/entry_empty_fields
Ensure a new entry data fields are empty
2018-07-31 18:13:55 +02:00
David Bariod 179037fcd4 Ensure a new entry data fields are empty
Fixes #795
2018-07-31 18:08:27 +02:00
David Bariod a4096716b0 Merge branch 'taylorchu/json_use_buf_pool' into master 2018-07-29 10:37:48 +02:00
David Bariod 7b58bf1472
Merge pull request #794 from sirupsen/logger_benchmark
Add logger benchmark
2018-07-28 17:25:36 +02:00
David Bariod d3162770a8 Add logger benchmark 2018-07-28 17:21:06 +02:00
David Bariod 87dfa988d1 Merge branch 'json_use_buf_pool' of git://github.com/taylorchu/logrus into taylorchu-json_use_buf_pool 2018-07-28 11:01:11 +02:00
David Bariod c108f5553c Merge branch 'field-logger-with-hooks-race' of git://github.com/thundercat1/logrus into master 2018-07-23 13:53:07 +02: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 a1f2e46d92
Merge pull request #792 from dgsb/master
limit the build/test matrix to the two latest stable version
2018-07-20 13:41:35 +02:00
David Bariod 54db2bb29a limit the build/test matrix to the two latest stable version 2018-07-20 13:35:37 +02:00
David Bariod 07e1216af7
Merge pull request #791 from dgsb/master
properly fix the hooks race test
2018-07-20 13:34:42 +02:00
David Bariod 6999e59e73 properly fix the hooks race test 2018-07-20 13:16:19 +02:00
David Bariod 92052687f8 Merge branch 'override-time' of git://github.com/sbrisson2/logrus into sbrisson2-override-time 2018-07-12 22:16:18 +02:00
Simon Brisson 725f3be199 Adds WithTime to Logger and Entry types, as well as a pure module-level function. 2018-07-12 13:25:17 -04:00
Simon Brisson 52b92f5b89 Allows overriding Entry.Time. 2018-07-03 11:38:02 -04:00
David Bariod e54a77765a
Merge pull request #779 from daskol/iss-241
[#241] Allow to set writer during logger usage.
2018-07-02 07:55:18 +02:00
Daniel Bershatsky fc9bbf2f57 [#241] Allow to set writer during logger usage. 2018-07-01 23:57:16 +03:00
David Bariod dd2931c82a
Merge pull request #771 from codepainters/master
Support for Entry data under nested JSON dictionary.
2018-07-01 18:24:02 +02:00
David Bariod 56faed7e3d
Merge pull request #743 from dgsb/master
Improve documentation for Fatal* class functions
2018-07-01 18:02:41 +02:00
David Bariod e3292c4c4d
Merge pull request #677 from neilisaac/text-field-map
Add FieldMap support to TextFormatter
2018-06-25 07:25:43 +02:00
Christian Stewart eed1c0f832 Fix GopherJS build tags
The GopherJS build tag is "js" not "gopherjs"

Signed-off-by: Christian Stewart <christian@paral.in>
2018-06-20 21:39:23 -07:00
Przemyslaw Wegrzyn 2ce6c0cb44 Support for Entry data under nested JSON dictionary. 2018-06-19 14:31:57 +02:00
Neil Isaac 6b28c2c7d7 error message 2018-06-18 21:39:53 -04:00
Neil Isaac 5d60369ef3 Fixed prefixFieldClashes for TextFormatter and added coverage 2018-06-18 21:32:35 -04:00
Neil Isaac 21326f6618 Merge remote-tracking branch 'origin/master' into text-field-map 2018-06-18 21:08:59 -04:00