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