Commit Graph

265 Commits

Author SHA1 Message Date
Huang Huang a663abbf13 readme: remove duplicate godoc link 2017-07-25 22:52:40 +08:00
dmathieu fdea1df936 add joonix/log to the formatters
Closes #520
2017-07-19 16:24:10 +02:00
Simon Eskildsen 7f976d3a76 readme: link to comment on casing 2017-07-10 14:22:29 -04:00
Simon Eskildsen 3d84af1ae0 Merge pull request #545 from shuLhan/shuLhan-hook-mattermost
README: add hook for Mattermost
2017-07-09 13:36:25 -04:00
Simon Eskildsen 8c2f155eec Merge pull request #556 from Deseao/master
Update test hook name
2017-07-09 13:35:57 -04:00
Andrew Pennebaker 3963c935b8 fix casing
fix casing leftover from older logrus
2017-07-06 17:21:34 -05:00
Simon Eskildsen 59d0ca41e5 readme: add note about lookign for maintainers 2017-07-06 09:44:07 -04:00
Simon Eskildsen 7dd06bf38e readme: clarify casing issues further 2017-06-29 20:54:20 -04:00
Simon Eskildsen 3d4380f53a readme: remove < 1.0.0 note from readme 2017-06-20 10:45:10 -04:00
Alex Haynes a279ebafa6 Update hook name
There is no hooks/null
2017-06-13 13:28:47 -05:00
Simon Eskildsen abb8cd67b6 readme: update with reference to fixing glide 2017-06-06 16:59:25 -04:00
Simon Eskildsen 33a34430d1 Merge pull request #548 from shinji62/feature/adding_syslogtls_hook_readme
Add TLS syslog hook to the readme.
2017-06-06 15:08:02 -04:00
Simon Eskildsen d3731ac026 readme: more explicit case instructions 2017-06-06 15:05:30 -04:00
Etourneau Gwenn a62b1531c0
Updating Readme to add syslogtls repo. 2017-05-25 09:53:41 +09:00
Shulhan c37067a498 README: add hook for Mattermost 2017-05-18 17:18:15 +07:00
Simon Eskildsen 5e5dc89865 travis: clean up 2017-05-15 06:59:10 -04:00
Simon Eskildsen 1ba5ca0adb Merge pull request #482 from chmllr/patch-1
Fixes typo
2017-05-15 06:27:40 -04:00
Simon Eskildsen 109740c07e Merge pull request #508 from tsarpaul/patch-2
Added SQS Hook
2017-05-15 06:27:12 -04:00
Simon Eskildsen f1444e62a8 hooks: add null logger test 2017-05-12 15:15:51 -04:00
Simon Eskildsen a9ab54b9d5 readme: add note on casing 2017-05-12 15:09:16 -04:00
Simon Eskildsen a06c2db727 hooks: add a null logger for the lower-case import 2017-05-12 14:57:36 -04:00
JodeZer 8df512bed5 fix readme example go import path 2017-05-11 18:19:16 +08:00
Simon Eskildsen 5b60b3d3ee Merge pull request #533 from urjitbhatia/master
Fix firehose hook url
2017-05-04 09:10:19 +02:00
Damien Lespiau 8aa045e295 readme: Fix md links
There were a couple of spaces between ']' and '(' causing the links to
be misrendered.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2017-05-03 17:23:41 +01:00
Urjit Singh Bhatia 012baad06c Fix firehose hook url
Firehose hook url was broken. Correct url is: https://github.com/beaubrewer/logrus_firehose
2017-05-02 10:47:34 -07:00
Paul Litvak fec838f389 Added SQS Hook 2017-03-22 22:32:29 +02:00
Simon Eskildsen 10f801ebc3 Merge pull request #498 from beaubrewer/patch-1
Update README.md
2017-03-17 10:32:14 -04:00
Simon Eskildsen f3b677a4dc Merge pull request #499 from Bo0mer/master
Fix typo
2017-03-17 10:32:04 -04:00
Simon Eskildsen 9f8e3f5df8 Merge pull request #490 from kz/patch-1
Add Discordrus, a hook for Discord, to README.md
2017-03-15 11:13:05 -04:00
Simon Eskildsen 634aa8bc0a Merge pull request #494 from esap/patch-1
add import for example
2017-03-15 11:12:54 -04:00
Ivan Borshukov f0542780a2 Fix typo 2017-03-07 18:02:20 +02:00
Beau N. Brewer add54587ab Update README.md
Added AWS Firehose hook. This provides us with a nice log steam to S3 workflow with very little effort.
2017-03-01 12:26:05 -07:00
一零村长 96acd6ab04 add import for example 2017-02-24 11:58:06 +08:00
Kelvin Zhang 9fd28e6cca Add Discordrus, a hook for Discord, to README.md 2017-02-17 14:09:07 +00:00
Mohan Raj Rajamanickam ca9493dc53 Fix quoted key field in Readme 2017-02-14 16:37:12 -08:00
Dave Clendenan 4b900796a4 Merge branch 'master' of https://github.com/sirupsen/logrus
Conflicts:
	CHANGELOG.md
2017-02-10 07:38:59 -08:00
Christian Müller 56103bcb33 Fixes typo 2017-02-10 16:30:30 +01:00
Simon Eskildsen 3f603f494d readme: add section on default fields 2017-02-07 13:34:08 -05:00
Simon Eskildsen ac38cb37a8 readme: fix markdown code syntax for stdlib example 2017-02-07 06:40:37 -05:00
Simon Eskildsen 080ca65fb5 readme: add section on overriding stdlib logger 2017-02-06 19:56:22 -05:00
Simon Eskildsen feda23452a readme: link to colorable for windows coloring 2017-02-06 19:51:07 -05:00
Simon Eskildsen b9def5b3c3 readme: even more hooks 2017-02-06 19:44:51 -05:00
Simon Eskildsen e2fcfb2fba readme: add some entries from stale PRs 2017-02-06 19:40:31 -05:00
Simon Eskildsen 141e6dc6a6 readme: update with example of logging to file 2017-02-06 19:23:53 -05:00
Dave Clendenan bc6d984670 add caller logic to DisableTimestamp case 2017-02-03 15:08:53 -08:00
Dave Clendenan 41d9b87f18 Merge branch 'master' of https://github.com/sirupsen/logrus
Conflicts:
	text_formatter.go
2017-02-03 14:56:03 -08:00
Tony Lee 1f59c9ad12 Add DisableLevelTruncation description to README 2017-01-24 23:05:25 +11:00
Stephen Day d4158e8bbd Merge pull request #452 from cjellick/readme-update
Update readme example for switching  output
2017-01-10 12:37:04 -08:00
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