Commit Graph

413 Commits

Author SHA1 Message Date
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
Simon Eskildsen c69e603431 Merge pull request #200 from freeformz/no_msg
Don't emit a msg if there is none to emit
2015-10-05 07:44:10 -04:00
Simon Eskildsen 05fe8fb917 Merge pull request #256 from flowlo/patch-1
Improve references to Logstash formatter
2015-10-05 07:35:44 -04:00
Simon Eskildsen a6a8245fd7 Merge pull request #251 from devopstaku/syslog_hook_doc
Add description about how to connect to local syslog with syslog hook
2015-10-05 07:35:05 -04:00
Lorenz Leutgeb 005f65e9b5 Improve references to Logstash formatter 2015-09-17 19:37:51 +02:00
Maksim Naumov 277d0cb562 `TextMarshaler` and `TextUnmarshaler` implementation for `Level` 2015-09-12 22:41:06 +02:00
devopstaku 4805f72c39 Add description about how to connect to local syslog with syslog hook 2015-09-09 21:55:50 +08:00
Edward Muller 9ca7d9fefe Don't emit a msg if there is none to emit 2015-09-08 14:21:17 -07:00
Simon Eskildsen 418b41d23a v0.8.7 2015-09-08 20:46:18 +00:00
Antoine Grondin 82c8de1af2 Merge pull request #247 from Sirupsen/revert-api-change
Revert api change
2015-09-07 21:03:30 -04:00
Antoine Grondin 66db2df1ef Merge pull request #245 from wallclockbuilder/documentation
Godoc Documentation
2015-09-07 20:52:27 -04:00
Antoine Grondin a2f80bd9c0 add compile checks for StdLogger interface 2015-09-07 20:49:55 -04:00
Antoine Grondin 38c9fd2510 Revert "Implement casting of *Entry to error."
This reverts commit 756db3cd2d.
2015-09-07 20:47:46 -04:00
Mawuli Adzoe 4b9a646039 Add sample code 2015-09-07 09:14:34 +00:00
Mawuli Adzoe 107695ee50 Add godoc summary 2015-09-07 09:14:15 +00:00
Antoine Grondin c639bedcac Merge pull request #179 from yawn/with-error
Added WithError(err)
2015-09-06 01:34:49 -04:00
Simon Eskildsen b17e718325 Merge pull request #242 from ineiti/patch-1
Update README.md
2015-09-04 09:54:25 -04:00
Linus Gasser 8c8be89501 Update README.md
Typo it seems - except if I still didn't understand go...
2015-09-04 12:02:14 +02:00
Simon Eskildsen 84b968cb9f Merge pull request #238 from weekface/master
Include mgorus(a mongodb hook) in list of available hooks
2015-08-26 22:14:34 -04:00
weekface c2efb40312 Add hook for logging to mongodb 2015-08-27 09:54:11 +08:00
Simon Eskildsen 44512f0d08 Merge pull request #237 from ryanfaerman/patch-1
Fixes typo in WithField documentation
2015-08-23 13:59:52 -04:00
Ryan Faerman 2612e8496d Fixes typo in WithField documentation 2015-08-20 00:07:28 -04:00
Simon Eskildsen 27b713cfd2 Merge pull request #235 from diegobernardes/patch-1
Update README.md
2015-08-18 20:11:02 -04:00
Diego Bernardes de Sousa Pinto 1d47e5ed0e Update README.md
Just a small fix.
2015-08-18 15:15:02 -03:00
Antoine Grondin 9c060de643 Merge pull request #226 from marcosnils/entry_race
Fix race condition in entry log method
2015-08-08 03:20:48 -04:00
Antoine Grondin eb98773bde Merge pull request #228 from hvnsweeting/patch-1
Update logger.go
2015-08-08 03:06:26 -04:00
Marcos Lilljedahl 8280b8b9a6 Add comment to log function
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-07 18:29:20 -03:00
Viet Hung Nguyen d5580f082a Update logger.go 2015-08-07 15:56:08 +07:00
Marcos Lilljedahl 35f12fb760 Fix panic return type
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-06 21:19:22 -03:00
Marcos Lilljedahl 396f8eefaa Make log method receive a copy of Entry structure to avoid race
conditions

Fixes #216

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-06 21:01:47 -03:00
Simon Eskildsen 8bca266407 changelog: update with raven change 2015-07-28 08:10:54 -04:00
Simon Eskildsen 5701be89e7 Merge pull request #215 from underarmour/sentry-hook-with-client
Allow sentry hook to be created using an initialized raven client
2015-07-28 08:09:19 -04:00
Simon Eskildsen 11538ee688 changelog: reformat for proper markdown 2015-07-23 21:49:03 -04:00
Simon Eskildsen aa3ad346e4 Revert "Merge pull request #208 from Arkan/master"
This reverts commit 7eac5879a5, reversing
changes made to c79ccaf8c2.
2015-07-23 21:45:57 -04:00
Simon Eskildsen 3cb248e9df changelog: add 218 2015-07-22 11:29:28 -04:00
Simon Eskildsen 86d90b1593 Merge pull request #218 from pengzhai/master
Fix data race issue in TextFormatter. Fix for https://github.com/Siru
2015-07-22 11:27:57 -04:00
Peng Zhai a8127fd485 Change printColored to use timestampFormat. 2015-07-20 10:43:12 -07:00
Peng Zhai 570db1b0b9 Fix data race issue in TextFormatter. Fix for https://github.com/Sirupsen/logrus/issues/217. 2015-07-16 21:02:46 -04:00
Allan Glen 1b73323cd0 Allow sentry hook to be created using an initialized raven client 2015-07-09 10:12:05 -06:00
Simon Eskildsen 07d998d174 Merge pull request #213 from awonak/sentry-tags
Sentry tags
2015-07-07 14:07:35 -04:00
Adam Wonak afe474b84f updated readme with usage example 2015-07-07 11:52:22 -05:00
Adam Wonak 8ce3556d31 Added a new SentryHook initialization func for setting tags. 2015-07-07 11:41:45 -05:00
Simon Eskildsen cd321ca94d version: bump to 0.8.3 2015-07-07 05:31:24 -04:00
Simon Eskildsen e815b55144 Merge pull request #209 from pdf/print_struct_keys
Print struct keys for struct log fields
2015-07-07 05:30:21 -04:00
Simon Eskildsen b9685ff27b Merge pull request #212 from evalphobia/master
Include fluentd in list of available hooks
2015-07-07 05:30:07 -04:00