Commit Graph

487 Commits

Author SHA1 Message Date
Simon Eskildsen 4b6ea7319e changelog: update for 0.10.0 2016-03-17 14:11:10 +00:00
Simon Eskildsen 897f3dddf1 Rename LogrusLogger interface to FieldLogger 2016-03-17 14:07:00 +00:00
Simon Eskildsen bb78923f27 Merge pull request #320 from little-arhat/feature-logrus-interface
Add LogrusLogger interface for Entry and Logger
2016-03-17 10:01:39 -04:00
Simon Eskildsen e110284865 Merge pull request #325 from spicydog/patch-1
Update README.md
2016-03-17 10:01:08 -04:00
Simon Eskildsen 9ccfbde280 Merge pull request #335 from dim/master
Avoid re-allocations
2016-03-17 09:56:47 -04:00
Simon Eskildsen 70d89df0fa Merge pull request #336 from sohlich/master
Hook for ElasticSearch.
2016-03-17 09:55:16 -04:00
Radomír Sohlich b8b6593e80 Hook for ElasticSearch.
Added a link for ElasticSearch hook.
2016-03-16 20:34:53 +01:00
Dimitrij Denissenko b81f34e70a Avoid re-allocations 2016-03-15 07:39:40 +00:00
Simon Eskildsen a26f43589d Merge pull request #333 from dragon3/add-typetalk-hook
Add Typetalk hook
2016-03-11 15:57:46 -05:00
dragon3 ea350e0221 Add Typetalk hook 2016-03-09 23:13:41 -05:00
Simon Eskildsen 219c8cb75c Merge pull request #330 from f2prateek/patch-1
Fix Godoc link
2016-02-24 16:10:30 -05:00
Prateek Srivastava 6d7aacc216 Fix Godoc link
Previous https://cloudup.com/cZnP3-jZ9O8
2016-02-24 14:05:45 -07:00
Simon Eskildsen 74bde9ea4c Merge pull request #180 from yawn/testhook
Added test hook
2016-02-23 08:49:20 -05:00
Joern Barthel 95190bb5ae Added testing section to README. 2016-02-22 10:51:00 +01:00
Joern Barthel 0143a90f6e Extended test. 2016-02-22 10:46:52 +01:00
Joern Barthel be4b44b806 Added test hook. 2016-02-22 10:46:52 +01:00
Joern Barthel 088ac1380d Expose all levels (for hooks). 2016-02-22 10:46:52 +01:00
Simon Eskildsen 57cce1ed61 readme: fix kafka link 2016-02-18 19:38:25 -05:00
Simon Eskildsen 840e99181e Merge pull request #326 from alde/make-parselevel-case-insensitive
Make ParseLevel case-insensitive
2016-02-18 11:43:37 -05:00
Simon Eskildsen 70e056d42b Merge pull request #327 from harshadptl/kafka_hook_link
adding link for the kafka hook
2016-02-18 11:43:21 -05:00
harshad 4ccde140c3 adding link for the kafka hook 2016-02-17 13:07:32 +05:30
Rickard Dybeck 03ba213b8a Make ParseLevel case-insensitive
Coming from an environment where loglevels are always specified in
uppercase, having ParseLevel be case-insensitive is a nice to have.
2016-02-16 16:27:38 +01:00
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
Simon Eskildsen 3455d89ac9 Merge pull request #323 from vladoatanasov/master
Link to amqp hook added in readme
2016-02-12 06:24:02 -05: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
Simon Eskildsen be52937128 changelog: bump to 0.9.0 2016-02-02 21:14:36 +00:00
Roma Sokolov 1196d67b47 Add LogrusLogger interface for Entry and Logger
This make it possible for client code to accept either Logger or Entry.
For example, utility function may accept logger object to inform fatal
errors and it is job of the calling code to provide either generic
top-level logger, or request-bound Entry created using .WithFields.

(fixes #308)
2016-02-02 17:38:49 +00:00
Simon Eskildsen 433488c23f Merge pull request #315 from ronnylt/feature/race
Sample to test race conditions
2016-02-02 09:30:34 -05:00
Simon Eskildsen 92e7983a9e Merge pull request #317 from rogierlommers/master
add link to logrus-redis-hook
2016-02-02 09:29:02 -05:00
Rogier Lommers 255c37f4ba add link to logrus-redis-hook 2016-01-26 21:01:36 +01:00
Ronny López 6094714616 Run tests with -race 2016-01-23 11:18:45 +01:00
Antoine Grondin f7f79f729e Merge pull request #314 from vend/logstash-immutable-event
avoid modifying the entry by copying all fields and values
2016-01-18 19:00:32 -05:00
Brad Brown 7700add084 avoid modifying the entry by copying all fields and values 2016-01-18 17:26:47 +13:00
Simon Eskildsen 446d1c146f Merge pull request #302 from mttrs/fix-typo
Fix typo
2015-12-04 09:14:43 -05:00
Simon Eskildsen 6a35758b8b Merge pull request #303 from illicitonion/ttydetection
Detect TTY based on stderr, not stdout
2015-12-04 09:14:34 -05:00
Daniel Wagner-Hall 05f9567ba3 Detect TTY based on stderr, not stdout
We actually write to stderr by default, so:

bin >/dev/null

currently weirdly prints non-colorized output, whereas:

bin 2>log

weirdly prints colorized output to a file.
2015-12-03 12:58:31 +00:00
mitsuteru sawa fd860ab61d Fix typo
“ should be ".
2015-11-30 16:22:28 +09:00
Simon Eskildsen cdaedc68f2 Merge pull request #299 from gchpaco/master
Support `WithError` on `Logger`.
2015-11-23 03:15:15 -05:00
Graham Hughes 42c9c25263 Support `WithError` on `Logger`.
Should address #277.
2015-11-21 22:59:38 -08:00
Simon Eskildsen a22723f16e Merge pull request #289 from 0xE0F/crosscompiling-solaris
Cross compiling for Solaris-like OS
2015-11-17 10:41:36 +01:00
Simon Eskildsen ba3ef66951 Merge pull request #292 from xujinzheng/master
fix tools of logrus_mate link address
2015-11-16 17:45:18 +01: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
Simon Eskildsen c734b5594a Merge pull request #285 from GJRTimmer/patch-1
Added Build Rule
2015-11-16 08:23:33 +01:00
Simon Eskildsen 6f383a9b29 Merge pull request #290 from eyberg/master
adding deferpanic hook in readme
2015-11-09 12:36:32 +01:00
Ian Eyberg ac099ab45a adding deferpanic hook in readme 2015-11-06 14:47:10 -08:00
0xe0f 8cdd4b39f5 Added implementation of function "IsTerminal" for Solaris 2015-11-03 12:21:35 +03:00
Denis Parchenko eb1e36217e Add ref to third-party prefixed log formatter 2015-10-29 09:43:41 +02:00