David Bariod
|
975c406ddb
|
Use a sync.Once to init the reportCaller data
|
2018-10-27 15:21:30 +02:00 |
David Bariod
|
5fcd19eae6
|
add a SetReportCaller on Logger object
|
2018-10-27 15:19:06 +02:00 |
David Bariod
|
64d5b7e66c
|
Merge branch 'master' into caller_feature
|
2018-10-27 15:10:52 +02:00 |
Fabien Meurillon
|
0c525822dc
|
Add GELF to third party formatters
|
2018-10-24 11:03:07 +02:00 |
Shun Yanaura
|
5c1f2cd52c
|
Make logrus.Level implement encoding.TextUnmarshaler
|
2018-10-22 04:20:01 +09:00 |
David Bariod
|
4fabf2fffc
|
Merge pull request #846 from sirupsen/gomod_konsorten_version
Fix the version of windows coloring library dependency
|
2018-10-21 12:09:20 +02:00 |
David Bariod
|
bb98c6c533
|
Fix the version of windows coloring library dependency
|
2018-10-21 11:53:14 +02:00 |
David Bariod
|
08e90462da
|
Merge pull request #844 from loren-osborn/pull/652_AddTraceLevelLogging
Added TRACE level logging.
|
2018-10-20 07:09:04 +02:00 |
Loren Osborn
|
ed3ffa0190
|
PR#844: Added Trace to TestLogLevelEnabled() (requested by @dgsb)
|
2018-10-19 09:15:13 -07:00 |
Loren Osborn
|
b54cafe5ce
|
Addresses @stevvooe's backward compatibility concerns.
|
2018-10-18 10:12:27 -07:00 |
Maxim Korolyov
|
ef9d84e9b3
|
Added trace log level.
|
2018-10-17 19:42:01 -07:00 |
Giedrius Dubinskas
|
c7a33dc5de
|
Add Trace level logging
|
2018-10-17 19:12:50 -07:00 |
drampull
|
4981d8161c
|
Added TRACE level logging.
|
2018-10-17 18:22:00 -07:00 |
David Bariod
|
680f584d62
|
Merge pull request #842 from dgsb/master
Add an example for tracing global variable with hook
|
2018-10-16 13:22:44 +02:00 |
David Bariod
|
9c7692ccff
|
disable colors on hook example
|
2018-10-15 21:32:20 +02:00 |
David Bariod
|
f2ab87f230
|
Add an example for tracing global variable with hook
|
2018-10-15 21:20:03 +02:00 |
David Bariod
|
ff92509e2c
|
Attempt to fix build break on aix
|
2018-10-12 06:57:07 +02:00 |
David Bariod
|
4582136994
|
Merge pull request #837 from caalberts/test-fatal
Implements #813 - Add option to panic in `test.NewNullLogger`
|
2018-10-10 22:06:18 +02:00 |
Albert Salim
|
a13c5db57c
|
Fix typo in comment
|
2018-10-10 21:59:03 +08:00 |
Albert Salim
|
4346c76f26
|
Remove unnecessary wrapper function on `os.Exit`
|
2018-10-10 21:57:58 +08:00 |
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 |
David Bariod
|
ad15b42461
|
Update changelog for v1.1.1 release
|
2018-10-08 22:30:39 +02:00 |
David Bariod
|
3f90cee1e4
|
Rationalize os specific build constraints
|
2018-10-06 15:42:00 +02: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
|
1ed61965b9
|
Merge pull request #832 from sirupsen/skip_func_value
Skip func type value in fields.
|
2018-09-30 22:58:21 +02:00 |
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 |