Commit Graph

1218 Commits

Author SHA1 Message Date
David Bariod 7b467df697 Skip func type value in fields.
We skip those unprintable fields and an error field
instead of dropping the whole trace.

Fixes #642
2018-09-30 22:51:02 +02:00
David Bariod a67f783a38 Update changelog for v1.1.0 release 2018-09-25 21:35:46 +02:00
David Bariod 6cfd37fe59
Merge pull request #830 from sirupsen/custom_sorting_func
Add custom sorting function in text formatter
2018-09-25 13:52:27 +02:00
David Bariod 73bc94e60c Add custom sorting function in text formatter 2018-09-25 13:45:23 +02:00
David Bariod 33a1e118e1
Merge pull request #825 from dgsb/windows_build
Add missing module dependency for windows build
2018-09-19 13:51:26 +02:00
David Bariod 5a88d3c21d Add missing module dependency for windows build 2018-09-19 13:46:16 +02:00
David Bariod 568026db28
Merge pull request #823 from mdittmer/fix-appengine
Fix AppEngine builds
2018-09-18 20:41:03 +02:00
Mark Dittmer 629982b495 DisableColors in two tests to fix AppEngine configuration 2018-09-18 13:54:23 -04:00
Mark Dittmer 0a8fc8d77c Add AppEngine test configurations to travis to a void regression 2018-09-17 13:56:18 -04:00
Mark Dittmer f1ce1baf56 Fix copypasta 2018-09-17 13:52:43 -04:00
Mark Dittmer 90501cfcc5 Fix AppEngine builds
`go build -tags appengine [...]` currently yields:

```
.../github.com/sirupsen/logrus/text_formatter.go:84:4: undefined: initTerminal
```

This change implements `initTerminal` for AppEngine builds.
2018-09-17 13:50:48 -04:00
David Bariod d23a0f20d4
Merge pull request #822 from sirupsen/konsorten-win10-color-support
windows 10 color support
2018-09-16 10:20:35 +02:00
David Bariod 98c898cc2d Fix gopherjs build constraint name 2018-09-16 10:14:59 +02:00
David Bariod c38641a38d Merge branch 'win10-color-support' of git://github.com/konsorten/logrus into konsorten-win10-color-support 2018-09-16 09:12:22 +02:00
David Bariod f3df9aeffd Merge branch 'master' of git://github.com/mariannefeng/logrus into mariannefeng-master 2018-09-08 11:18:16 +02:00
David Bariod eed7c22374 Fix travis build for go 1.11 with modules 2018-09-08 09:44:05 +02:00
David Bariod 66895ce165 Fix module name and remove unused dependencies 2018-09-08 08:27:05 +02:00
David Bariod dea96f0092 Merge branch 'master' of git://github.com/dgodd/logrus into dgodd-master 2018-09-08 08:17:42 +02:00
David Bariod cd7816122a
Merge pull request #818 from whuang8/patch-1
Fix spelling in Entry.Buffer comment
2018-09-08 08:16:38 +02:00
William Huang 88eb166d31
Fix spelling in Entry.Buffer comment 2018-09-06 21:11:16 -05:00
Dave Goddard f75951b604 Add go module support
Travis will only run the "go get" install lines if using go 1.10.x
2018-09-06 09:54:44 -03:00
David Bariod 3791101e14
Merge pull request #816 from sirupsen/syslog_hook_example
Use syslog instead of airbrake as syslog example
2018-09-04 22:21:35 +02:00
David Bariod 4bcb47b846 commit to trigger appveyor build 2018-09-04 22:15:13 +02:00
David Bariod 8b120431f3 Fix example build on windows 2018-09-03 21:58:50 +02:00
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