Commit Graph

707 Commits

Author SHA1 Message Date
Ronny López 6094714616 Run tests with -race 2016-01-23 11:18:45 +01:00
Antoine Grondin f7f79f729e Merge pull request #314 from vend/logstash-immutable-event
avoid modifying the entry by copying all fields and values
2016-01-18 19:00:32 -05:00
Brad Brown 7700add084 avoid modifying the entry by copying all fields and values 2016-01-18 17:26:47 +13:00
Simon Eskildsen 446d1c146f Merge pull request #302 from mttrs/fix-typo
Fix typo
2015-12-04 09:14:43 -05:00
Simon Eskildsen 6a35758b8b Merge pull request #303 from illicitonion/ttydetection
Detect TTY based on stderr, not stdout
2015-12-04 09:14:34 -05:00
Daniel Wagner-Hall 05f9567ba3 Detect TTY based on stderr, not stdout
We actually write to stderr by default, so:

bin >/dev/null

currently weirdly prints non-colorized output, whereas:

bin 2>log

weirdly prints colorized output to a file.
2015-12-03 12:58:31 +00:00
mitsuteru sawa fd860ab61d Fix typo
“ should be ".
2015-11-30 16:22:28 +09:00
Simon Eskildsen cdaedc68f2 Merge pull request #299 from gchpaco/master
Support `WithError` on `Logger`.
2015-11-23 03:15:15 -05:00
Graham Hughes 42c9c25263 Support `WithError` on `Logger`.
Should address #277.
2015-11-21 22:59:38 -08:00
Olivier Mengué 12ea3a4f8e formatter.go: simplify prefixFieldClashes(Fields) 2015-11-21 17:51:52 +01:00
Simon Eskildsen a22723f16e Merge pull request #289 from 0xE0F/crosscompiling-solaris
Cross compiling for Solaris-like OS
2015-11-17 10:41:36 +01:00
Simon Eskildsen ba3ef66951 Merge pull request #292 from xujinzheng/master
fix tools of logrus_mate link address
2015-11-16 17:45:18 +01:00
Zeal 8b27a242e4 fix logrus_mate link address 2015-11-16 18:22:07 +08:00
Simon Eskildsen eb61880d00 Merge pull request #282 from x-cray/master
Add ref to third-party prefixed log formatter
2015-11-16 08:27:26 +01:00
Simon Eskildsen ac496616c9 Merge pull request #275 from xujinzheng/master
add tools section for logrus mate
2015-11-16 08:23:49 +01:00
Simon Eskildsen c734b5594a Merge pull request #285 from GJRTimmer/patch-1
Added Build Rule
2015-11-16 08:23:33 +01:00
Simon Eskildsen 6f383a9b29 Merge pull request #290 from eyberg/master
adding deferpanic hook in readme
2015-11-09 12:36:32 +01:00
Ian Eyberg ac099ab45a adding deferpanic hook in readme 2015-11-06 14:47:10 -08:00
0xe0f 8cdd4b39f5 Added implementation of function "IsTerminal" for Solaris 2015-11-03 12:21:35 +03:00
Denis Parchenko eb1e36217e Add ref to third-party prefixed log formatter 2015-10-29 09:43:41 +02:00
Simon Eskildsen fe6f2b0312 Merge pull request #286 from dorajistyle/master
Add octokit hook.
2015-10-27 08:58:02 -04:00
JoongSeob Vito Kim 2308b7ee63 Add octokit hook.
Add octokit(github) hook.
2015-10-27 18:58:00 +09:00
Gert-Jan Timmer 6815eb0dbd Added Build Rule
Add build rule, to only build on Linux platform, reason for adding this: This allows the usage of the logrus package within a Windows based project. Current logrus project fails to import due to the fact the syslog is missing on Windows.
2015-10-27 10:18:45 +01:00
Simon Eskildsen 62f85a2e39 changelog: remove bugsnag 2015-10-22 17:52:25 -04:00
Simon Eskildsen 8013927d1b Merge pull request #280 from csfrancis/remove_bugsnag
Remove Bugsnag
2015-10-22 17:51:46 -04:00
Scott Francis faac3ea969 Remove Bugsnag 2015-10-22 20:20:45 +00:00
Zeal e958fd6f37 add tools section for logrus mate 2015-10-19 14:19:45 +08:00
Simon Eskildsen 4643a7efec Merge pull request #271 from Abramovic/master
Include InfluxDB hook
2015-10-12 17:08:13 -04:00
Abramovic 68064ae592 include InfluxDB hook 2015-10-12 10:41:37 -07:00
Simon Eskildsen df78bc75a3 changelog: move papertrail 2015-10-09 17:37:08 +00:00
Simon Eskildsen 1855cb72bb Merge pull request #270 from polds/master
Split out Papertrail hook to its own repo
2015-10-09 13:35:41 -04:00
Peter Olds 3240988909 Split out Papertrail hook to its own repo
Signed-off-by: Peter Olds <polds@kyanicorp.com>
2015-10-09 10:28:56 -06:00
Simon Eskildsen 23521f1364 changelog: moved sentry 2015-10-07 14:14:16 +00:00
Simon Eskildsen b2fcfe237c Merge pull request #269 from evalphobia/feature/move-sentry-hook
Move sentry hook to external repository
2015-10-07 10:13:26 -04:00
evalphobia ba64a98b3b Move sentry hook to external repository 2015-10-07 12:59:33 +09:00
Simon Eskildsen b673bf363d Merge pull request #268 from apriendeau/patch-3
hook.go matches their gopkg.in/gemnasium/logrus-airbrake-hook.v2 now
2015-10-06 16:33:52 -04:00
Austin Riendeau f811ea43df hook.go matches their gopkg.in/gemnasium/logrus-airbrake-hook.v2 now 2015-10-06 14:24:51 -06:00
Simon Eskildsen 8ae9297f36 Merge pull request #266 from apriendeau/patch-1
Fixes breaking change with removing airbrake.
2015-10-06 16:10:30 -04:00
Austin Riendeau 457a009ed7 Fixes breaking change with removing airbrake. 2015-10-06 14:01:18 -06:00
Simon Eskildsen d7f23545ad Merge pull request #264 from gemnasium/move-graylog
Move graylog to dedicated repo
2015-10-06 14:48:13 -04:00
Philippe Lafoucrière 1d8ceff9b2 Move graylog to dedicated repo
The new repo uses gopkg.in for versioning.
This is the continuation of logrus moving hooks to dedicated repos.

The old repo
https://github.com/gemnasium/logrus-hooks/tree/master/graylog
is deprecated, as we don't want to share things there too (import
airbrake while I just want graylog). It will be removed in a few
months.
2015-10-06 14:43:55 -04:00
Simon Eskildsen 46358df244 changelog: add airbrake note 2015-10-06 18:39:39 +00:00
Simon Eskildsen aeb0c6c39e Merge pull request #261 from gemnasium/move-airbrake
Move airbrake
2015-10-06 14:38:26 -04:00
Philippe Lafoucrière 86739cfcf4 Remove leftover 2015-10-06 14:33:31 -04:00
Philippe Lafoucrière 297ec6fcaa Move airbrake to dedicated repo(s)
The current implementation is using an old implementation of the
Airbrake v2 api. Airbrake has release v2 since, but this package is
necessary for in-house solutions like errbit.
The number of errbit users don't justify to continue pushing this
version as the official.
That's why the official hook is now using gobrake (the official
package), and the one coming from logrus is now named "legacy".
2015-10-06 14:28:31 -04:00
Simon Eskildsen fe72f59ae7 travis: remove support for 1.2 2015-10-05 12:05:41 +00:00
Simon Eskildsen 1b01a2b2fc changelog: add for 0.9.0 2015-10-05 12:05:41 +00:00
Simon Eskildsen 8445ae196b Merge pull request #259 from Sirupsen/revert-254-master
Revert "TextMarshaler and TextUnmarshaler implementation for Level"
2015-10-05 07:46:03 -04:00
Simon Eskildsen 4197a1bbd5 Revert "TextMarshaler and TextUnmarshaler implementation for Level" 2015-10-05 07:45:58 -04:00
Simon Eskildsen 5a15866bba Merge pull request #254 from fromYukki/master
TextMarshaler and TextUnmarshaler implementation for Level
2015-10-05 07:45:56 -04:00