Commit Graph

224 Commits

Author SHA1 Message Date
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
Simon Eskildsen 6957054c60 readme: fix description 2014-03-10 20:01:41 -04:00
Simon Eskildsen f234137534 readme: add examples of json 2014-03-10 20:01:07 -04:00
Simon Eskildsen 0719d9a9d8 readme: fix image 2014-03-10 20:00:07 -04:00
Simon Eskildsen ec306913da Fix example 2014-03-10 19:59:18 -04:00
Simon Eskildsen afde6aea11 levels: add to logger type 2014-03-10 19:52:39 -04:00
Simon Eskildsen d3ee06cc28 readme: add comments 2014-03-10 19:30:06 -04:00
Simon Eskildsen 23c5312e67 readme: update 2014-03-10 19:27:19 -04:00
Simon Eskildsen 53371e3664 Add features from README 2014-03-10 19:22:08 -04:00
Simon Eskildsen e155f76d1b readme: remove error 2014-03-08 10:55:15 -05:00
Simon Eskildsen 8fe53025b6 readme: update after removing env 2014-03-07 12:51:29 -05:00
Simon Eskildsen 7769e38bec readme: add setting level instructions 2014-03-06 21:49:47 -05:00
Simon Eskildsen 8492d88e94 readme: dont use printf 2014-03-06 21:26:05 -05:00
Simon Eskildsen 52eb6b2fe6 readme: update 2014-03-06 21:20:13 -05:00
Simon Eskildsen b6f53cb91b README: rewrite 2014-02-23 20:19:34 -05:00
Simon Eskildsen bc7134c305 Fix some quotes 2013-10-16 15:28:51 -04:00
Simon Eskildsen f7a4f6311b Fix comments 2013-10-16 15:28:25 -04:00
Simon Eskildsen 835cd13cb5 Add initial README for discussion 2013-10-16 15:27:10 -04:00