Dave Clendenan
f08011a10f
merge upstream, add tests, full method context
...
- added benchmarks, and assertions for timeliness
- replaced regex usage in package-name handling with a straight
comparison to a cached value
- log the fullly-qualified method name, to remove ambiguity
eg: github.com/fflintstone/yabba.dabba.doo
- clean up possibly-unsafe assumptions about using the standard logger,
remove global lookup function to enforce safe usage
2016-12-01 10:23:00 -08:00
Simon Eskildsen
42b84f9ec6
Merge pull request #384 from mnzt/master
...
Renaming upper-case 'Sirupsen' to 'sirupsen'
2016-11-30 15:35:45 -05:00
Daniel Taylor
90915c9326
Fix typo in README
2016-11-29 10:52:28 -08:00
Dave Clendenan
348bace269
doc updates, and relabel ReportMethod
...
in the Logrus context it's the caller, so use that internally. Label
stays as 'method' since in the context of the log event that seems more
correct.
2016-11-29 09:35:34 -08:00
Dave Clendenan
473c3448ab
Add README notes and CHANGELOG entries
...
documentation for usage of the new optional calling-method logging
2016-11-28 13:43:38 -08:00
Dave Clendenan
93af604ba7
First cut at adding calling method
...
If log.SetReportMethod(true) then method=PACKAGE.FUNCTION will be added
as a field to log lines.
eg: time="2016-11-25T19:04:43-08:00" level=info method=main msg="log
testing"
TODO: documentation, examples
2016-11-25 19:02:56 -08:00
Philippe Lafoucrière
65aed8c493
Add pglogrus to README
2016-11-03 21:59:20 -04:00
Simon Eskildsen
380f64d344
Merge pull request #412 from sagar8192/add-scribe-hook-description
...
Add scribe hook
2016-10-31 10:45:02 -04:00
Simon Eskildsen
8de4982a7a
Merge pull request #413 from toorop/master
...
Add Pushover Hook
2016-10-31 10:44:55 -04:00
Simon Eskildsen
7371813290
Merge pull request #421 from heralight/master
...
Update README.md
2016-10-31 10:44:43 -04:00
JJ Merelo
ea5eab4f4b
Adds new logz.io hook by @ripcurld00d
2016-10-09 13:02:24 +02:00
Alexandre Richonnier
0c8a99c9b8
Update README.md
...
add link to Logrus and Viper integration Helper
2016-10-05 09:20:26 +02:00
Stéphane Depierrepont aka Toorop
f7be9f0695
Add Pushover Hook
2016-09-19 16:09:08 +02:00
Sagar Sadashiv Patwardhan
32472f55b6
Add scribe hook
2016-09-18 12:42:16 -07:00
Aaron Greenlee
08a8a7c27e
Merge pull request #370 from frostyplanet/bufferpool
...
Optimise speed
2016-08-13 11:40:05 -04:00
Aaron Greenlee
58d2a6a703
Merge pull request #358 from gpolaert/patch-1
...
Add new hook for Logmatic.io
2016-08-13 11:39:25 -04:00
plan
4c4ffbea17
Add document for logger.SetNoLock()
2016-08-11 01:51:00 +08:00
Toby
c8b0c0e43b
Fixing import for airbrake and adding build constraint to example hook
2016-07-27 13:12:26 +01:00
Aaron Greenlee
a283a10442
Improved documentation of Fatal Handlers
2016-07-15 22:56:31 -04:00
Luke Petre
4ee95f9462
Removing logstash formatter
2016-07-12 21:23:56 +01:00
Simon Eskildsen
f3cfb454f4
readme: fix example
2016-06-01 07:32:10 -04:00
Harry Moreno
67fb1f35e6
change 'log' -> 'logrus'
...
Change 'log' -> 'logrus' to fix syntax error
2016-05-23 19:54:24 -04:00
Guillaume Polaert
93985e4b77
Add new hook for Logmatic.io
...
Logmatic.io is Saas-based log management solution.
We develop a simple hook in order to send your Logrus logs straight to Logmatic.io
2016-05-17 17:38:10 +02:00
Antoine Grondin
870c1fc2ca
add logstash hook to readme
...
closes #339
2016-04-16 12:42:53 +05:30
Simon Eskildsen
7e6f976580
Merge pull request #341 from doublefree/add_smologic_hook_readme
...
Sumorus - SumoLogic Hook url added to readme
2016-04-13 08:47:20 -04:00
Vlad-Doru Ion
0d667bc0c7
Added a new hook to the README.md
...
Added the logrusus hook.
2016-04-04 10:58:58 +03:00
takuya.watabe
5eb315cfd5
Sumorus - SumoLogic Hook url added to readme
2016-03-31 00:20:06 +09:00
Simon Eskildsen
e110284865
Merge pull request #325 from spicydog/patch-1
...
Update README.md
2016-03-17 10:01:08 -04:00
Radomír Sohlich
b8b6593e80
Hook for ElasticSearch.
...
Added a link for ElasticSearch hook.
2016-03-16 20:34:53 +01:00
dragon3
ea350e0221
Add Typetalk hook
2016-03-09 23:13:41 -05:00
Prateek Srivastava
6d7aacc216
Fix Godoc link
...
Previous https://cloudup.com/cZnP3-jZ9O8
2016-02-24 14:05:45 -07:00
Joern Barthel
95190bb5ae
Added testing section to README.
2016-02-22 10:51:00 +01:00
Simon Eskildsen
57cce1ed61
readme: fix kafka link
2016-02-18 19:38:25 -05:00
harshad
4ccde140c3
adding link for the kafka hook
2016-02-17 13:07:32 +05:30
spicydog
d5a509ac3f
Update README.md
...
Update set log formatter command to "log.SetFormatter()" since "log.Formatter = new()" does not work.
2016-02-16 13:41:25 +10:00
Vlado Atanasov
6e0b3a3397
Update README.md
2016-02-12 10:30:56 +00:00
Vlado Atanasov
2be7bf5c9c
Update README.md
2016-02-12 10:30:30 +00:00
Rogier Lommers
255c37f4ba
add link to logrus-redis-hook
2016-01-26 21:01:36 +01:00
mitsuteru sawa
fd860ab61d
Fix typo
...
“ should be ".
2015-11-30 16:22:28 +09: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
Ian Eyberg
ac099ab45a
adding deferpanic hook in readme
2015-11-06 14:47:10 -08:00
Denis Parchenko
eb1e36217e
Add ref to third-party prefixed log formatter
2015-10-29 09:43:41 +02:00
JoongSeob Vito Kim
2308b7ee63
Add octokit hook.
...
Add octokit(github) hook.
2015-10-27 18:58:00 +09: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
Abramovic
68064ae592
include InfluxDB hook
2015-10-12 10:41:37 -07: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
evalphobia
ba64a98b3b
Move sentry hook to external repository
2015-10-07 12:59:33 +09:00