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