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
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