puddingfactory
cf456d321e
Add Logentrus, hook for Logentries, to list
2016-12-10 15:36:15 -06:00
Dave Clendenan
88dd8df1f8
responses to code review
...
- field rename to be more properly generic
- drop rewrite of main.main
2016-12-06 12:53:21 -08:00
Dave Clendenan
d8fd23467c
add syntax hilighting to new example blocks
2016-12-02 10:09:30 -08:00
Dave Clendenan
2e7c40ede0
README formatting tweak
2016-12-02 09:57:30 -08:00
Dave Clendenan
802fba19a4
add note on caller-reporting overhead to README
2016-12-02 09:52:11 -08:00
Dave Clendenan
5840194571
Merge branch 'master' of https://github.com/Sirupsen/logrus
...
Conflicts:
alt_exit_test.go
json_formatter_test.go
2016-12-02 09:38:12 -08:00
Craig Jellick
7d228b51ce
Update readme example for switching output
...
Clarifies that stderr is the default, not stdout.
2016-12-01 17:37:34 -07:00
Simon Eskildsen
3c3917e625
readme: apologize for casing issue
2016-12-01 18:55:03 -05:00
Simon Eskildsen
26809363aa
Revert "Merge pull request #384 from mnzt/master"
...
This reverts commit 42b84f9ec6
, reversing
changes made to cf60a8c5d5
.
2016-12-01 18:53:16 -05:00
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
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
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
05fe8fb917
Merge pull request #256 from flowlo/patch-1
...
Improve references to Logstash formatter
2015-10-05 07:35:44 -04:00
Lorenz Leutgeb
005f65e9b5
Improve references to Logstash formatter
2015-09-17 19:37:51 +02:00
devopstaku
4805f72c39
Add description about how to connect to local syslog with syslog hook
2015-09-09 21:55:50 +08: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
weekface
c2efb40312
Add hook for logging to mongodb
2015-08-27 09:54:11 +08:00
Diego Bernardes de Sousa Pinto
1d47e5ed0e
Update README.md
...
Just a small fix.
2015-08-18 15:15:02 -03:00
evalphobia
9846c73426
Include fluentd in list of available hooks
2015-07-07 12:54:35 +09:00
Manfred Touron
3b1ecc5fdd
fix typo
2015-06-30 23:20:00 +02:00
Jason Yan
4ab59a94fa
Added link to Sentry hook.
2015-06-24 19:37:01 -07:00
Edward Muller
7eed28eea2
Link to the rollbar notification hook that we use.
2015-06-19 16:04:35 -07:00
Rene Zbinden
dc834b8b47
add link to mail hook
2015-06-10 11:09:59 +02:00
Simon Eskildsen
e3eccfaeb5
readme: fix typo in honeybadger
2015-06-08 19:55:33 -04:00
Simon Eskildsen
c8ed7a5eae
readme: add @agonzalezro honeybadger hook to readme
2015-06-08 19:54:53 -04:00
rifflock
245d8971d1
Include lfshook in list of available hooks
2015-06-02 15:36:57 -07:00
Rebill.Ruan
e86319aa1d
fix error
2015-06-02 15:33:32 +08:00
Dotan J. Nahum
05d18c70e2
logrus_syslog / syslog - example should now be valid
2015-05-27 14:29:11 +03:00
Philip Allen
099b1bffe0
removing raygun hook from hooks dir, adding reference in hooks table of main README.md
2015-05-21 10:28:14 -04:00
Matthew Baird
f1d275b800
proper use of TextFormatter in documentation
2015-05-12 09:27:20 -07:00
Simon Eskildsen
cdd90c38c6
readme: fix comment on context logger
2015-03-31 11:30:41 -04:00
Simon Eskildsen
7586a697f6
readme: add example of context logging
2015-03-31 11:24:31 -04:00
Philippe Lafoucrière
034cc50c51
Add graylog hook to Readme
...
I have updated the list to be a table instead. It's much more readable than the previous version, and used in a lot of places (ex: https://github.com/codegangsta/negroni/blob/master/README.md )
2015-03-27 09:43:24 -04:00
Tiffany Low
3e3e87a165
allow custom time format string in TextFormatter
...
- fixes examples in README.md that incorrectly state usage of
RFC3339Nano format instead of RFC3339
2015-03-26 16:15:06 -07:00
Simon Eskildsen
fa58c5d59f
readme: move bugsnag docs
2015-03-19 11:26:39 -04:00
Simon Eskildsen
8be81604a8
Merge pull request #152 from burke/bugsnag-hook
...
hooks: Add BugSnag hook
2015-03-19 11:23:38 -04:00
Burke Libbey
d96cee72fa
Code review changes
2015-03-19 11:21:40 -04:00
Matt Bostock
bc1129f48e
Remove outdated version of Airbrake hook
...
It seems unnecessary to duplicate the code (which is now outdated) in
the README. Instead, link to the built-in hooks where a user can see
the code.
2015-03-19 10:03:27 -04:00
Matt Bostock
7ba71bd357
Rework the Airbrake hook
...
Rework the Airbrake hook to:
a) change the interface so that the Airbrake credentials are stored in
an unexported struct, `airbrakeHook`, which is instantiated using the
`NewHook()` method
b) send log entries where no 'error' field is set to Airbrake, using the
`entry.Message` string as the message sent to Airbrake but continue to
allow the passing of error types using the 'error' field
Update the tests accordingly, assuring that the correct message is
received by the Airbrake server.
Also update the examples in the README, which would not have worked with
the previous implementation of the Airbrake hook.
2015-03-19 10:03:27 -04:00
Alexander Demidov
3cc6fcc521
use formatters directory
2015-03-05 23:31:39 +06:00
Alex Demidov
75cc3dd51a
Update README.md
2015-02-20 21:02:11 +05:00
Alexander Demidov
e15d51fef3
formatter for logstash ( http://logstash.net )
2015-02-20 21:52:53 +06:00
Simon Eskildsen
4d9b4f0c83
readme: add journal hook
2015-02-19 18:51:13 +00:00
Simon Eskildsen
38a6ff9215
readme: add note on stability to avoid confusion
2015-02-12 17:48:35 +00:00
d00221763
6383fe40c5
fix typo
...
Signed-off-by: Deng Guangxing <denguangxing@huawei.com>
2015-02-10 16:49:34 +08:00
Antoine Grondin
896e5e5d4d
add an entry about logger.Writer() in README
2015-01-31 14:08:25 -05:00
Matt Williams
2bc78c204b
drive by fix to README.md
2015-01-23 01:57:51 +00:00
Edward Muller
8c09acde89
The format is logfmt, not l2met, although that is where it "originated"
2015-01-09 16:13:34 -08:00
Simon Eskildsen
d2f9ffa1d9
readme: add slack hook
...
closes #98
2014-12-30 14:02:50 +01:00
Marc Abramowitz
82c427c515
README.md: Add Godoc badge to top
2014-12-28 12:56:20 -08:00
Sebastien Estienne
535f69a2f4
Add links to a loggly.com hook
2014-12-11 16:01:13 -08:00
Simon Eskildsen
98924b0b51
readme: fix syslog example
2014-11-23 02:09:47 +00:00
Michael Puncel
739afbfd4e
fix bug in example in README
2014-10-27 14:22:57 -07:00
Simon Eskildsen
f75f3a649c
readme: fix papertrail link
...
\cc @al3x
2014-09-25 03:05:52 +00:00
Alex Payne
a93cac017b
Link to Papertrail hook. Format hook links consistently.
2014-09-13 11:55:08 -07:00
Simon Eskildsen
d70cdce21e
readme: fix examples
2014-08-29 13:51:19 -04:00
Alexander Surma
124e36dcb9
Add hiprus to hook list
2014-08-26 12:16:06 +02:00
Simon Eskildsen
736840a898
Merge pull request #53 from suicidejack/master
...
Ability to completely disable colors when using the text formatter
2014-08-15 00:06:46 +02:00
Matt Price
cc9d142633
cleaned up Readme details
2014-08-14 18:04:57 -04:00
Matt Price
e2a44689a6
updated README and added reference
2014-08-13 13:36:59 -04:00
suin
a0dea8c09d
fix typo in README.md
2014-08-06 12:09:02 +09:00
Didip Kerabat
6d5b58f3d6
Merge upstream
2014-07-27 22:19:58 -07:00
Simon Eskildsen
330e34061e
readme: fix examples
2014-07-26 22:51:23 -04:00
Simon Eskildsen
3f50cc7bf7
readme: encourage package level logging
...
Conflicts:
README.md
2014-07-26 22:47:30 -04:00
Simon Eskildsen
da97142f2a
Merge pull request #48 from Sirupsen/break-out-specials
...
entry: break out time, level and message from data
2014-07-26 22:23:53 -04:00
Simon Eskildsen
33c9d5aebc
readme: fix levels
2014-07-26 22:23:41 -04:00
Simon Eskildsen
3b30f00a12
readme: document log rotation
2014-07-26 21:46:04 -04:00
Simon Eskildsen
40069a98d6
entry: break out time, level and message from data
2014-07-26 21:34:29 -04:00
Simon Eskildsen
6be56e6e50
Merge pull request #45 from aybabtme/export-package-level-log-funcs
...
Export package func to a standard logger.
2014-07-26 20:48:56 -04:00
Simon Eskildsen
3fed7c4632
readme: backwards compatibility notice
2014-07-26 20:47:50 -04:00
Antoine Grondin
9a0c9801d6
Add readme paragraph about package exported funcs.
2014-07-23 16:48:53 -04:00
Antoine Grondin
e5621dca87
Export package func to a standard logger.
2014-07-21 21:19:55 -04:00
Didip Kerabat
90a435e26a
Update more README
2014-07-18 15:48:56 -07:00
Didip Kerabat
24b6c463ab
Update frontpage README
2014-07-18 15:47:34 -07:00
Simon Eskildsen
3d664eab7a
readme: cleanup
2014-04-23 20:22:19 -04:00
Simon Eskildsen
2936962d6a
readme: remove todo
2014-04-23 20:14:59 -04:00
Simon Eskildsen
d4f08ce128
hooks: add airbrake hook
...
hooks: Add airbrake hook
examples: move around to avoid overloading main
airbarke move around
remove tex.tgo
readme: cleanup
readme: try something different
2014-04-23 19:55:11 -04:00
Dan Buch
058bed65b7
Modifying example to allow for both json and text formats
...
and regenerating the non-TTY text output example just in case I
converted it wrong.
2014-04-20 15:38:09 -04:00
Dan Buch
7c14fae98a
Adjusting README to account for quote style change in non-TTY text format
...
plus removing link to external `l2met` formatter, as it is no longer
necessary.
2014-04-20 15:33:11 -04:00
Charlie Somerville
beb2ae0661
space out the walrus from the travis badge a bit
2014-04-14 13:02:30 +10:00
Simon Eskildsen
c4d09daeac
readme: add copy pasta example
2014-04-13 17:51:46 -04:00
Simon Eskildsen
f57ecef66a
readme: consistent third party formatters
2014-04-13 17:39:58 -04:00
Dan Buch
87db9d5eea
Adding link to l2met formatter
2014-04-12 19:07:17 -04:00
Simon Eskildsen
d4ada4466b
readme: add travis badge
2014-03-26 09:30:52 -04:00
Justin Li
cc1a5b95bc
Add note about ForceColors in the README
2014-03-16 17:27:31 -04:00
Antoine Grondin
7e4ec7df6c
Third party formatter to README.
2014-03-14 16:45:20 -04:00
Simon Eskildsen
7d02fa59d7
examples: change size to integer
2014-03-14 16:17:38 -04:00
Simon Eskildsen
57071602e3
readme: remove todo on text formatter
2014-03-14 13:57:55 -04:00
Simon Eskildsen
f84cc365b1
readme: add textformatter example to readme without tty
2014-03-14 13:02:15 -04:00
Simon Eskildsen
cf9baa9ace
readme: add godoc
2014-03-13 08:44:08 -04:00
Simon Eskildsen
1e8a799618
entry: move hook firing to entry.log
2014-03-12 10:10:22 -04:00
Simon Eskildsen
cd5805716d
readme: add notes on logging levels
2014-03-12 08:00:18 -04:00
Simon Eskildsen
44ead10986
readme: complete hook example
2014-03-12 07:59:22 -04:00
Simon Eskildsen
e469287329
readme: add walrus
2014-03-11 11:09:36 -04:00
Simon Eskildsen
c86733fba0
readme: add more motivation for fields
2014-03-11 11:01:30 -04:00
Simon Eskildsen
1399b22d12
readme: fix hook
2014-03-10 23:23:53 -04:00
Simon Eskildsen
333c89518d
readme: add todo
2014-03-10 21:15:25 -04:00
Simon Eskildsen
7056845d0f
readme: add other hook example
2014-03-10 20:32:22 -04:00
Simon Eskildsen
9f6d81e31e
readme: add golang
2014-03-10 20:07:22 -04:00
Simon Eskildsen
2bb88683a1
readme: cleanup
2014-03-10 20:06:39 -04:00