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