Commit Graph

633 Commits

Author SHA1 Message Date
Simon Eskildsen acfabf31db logrus: use lower-case in comments and examples 2017-05-12 15:21:58 -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
Simon Eskildsen 79043dd8d5 Merge pull request #540 from JodeZer/master
fix readme example go import path
2017-05-12 14:52:41 -04:00
Simon Eskildsen 62f94013e5 Merge pull request #527 from flimzy/race
Protect test hook entries with a mutex
2017-05-12 06:11:14 -04:00
Simon Eskildsen 21173bb50a Merge pull request #535 from mattias-lundell/patch-1
Fixed small typo in example.
2017-05-12 06:07:14 -04:00
Simon Eskildsen 2c677e6a5e Merge pull request #512 from LTD-Beget/fix/datarace-setlevel
Fix SetLevel data-race
2017-05-12 06:06:32 -04:00
JodeZer 8df512bed5 fix readme example go import path 2017-05-11 18:19:16 +08:00
Mattias Lundell e3715134c9 Fixed small typo in example. 2017-05-05 14:18:10 +02:00
Simon Eskildsen 5b60b3d3ee Merge pull request #533 from urjitbhatia/master
Fix firehose hook url
2017-05-04 09:10:19 +02:00
Simon Eskildsen 727dd38ae7 Merge pull request #534 from dlespiau/20170503-fix-md-links
readme: Fix md links
2017-05-04 09:08:58 +02:00
Simon Eskildsen 508f304878 Merge pull request #528 from flimzy/go1.8
Add Go 1.8 to the testing matrix
2017-05-03 20:34:05 +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
Jonathan Hall dba7a9fd25 Add Go 1.8 to the testing matrix
And use the .x versions, so the latest versions of each Go release is used.
2017-04-20 09:50:47 +02:00
Jonathan Hall 7e4197a54f Add a small warning comment 2017-04-20 09:44:21 +02:00
Jonathan Hall cc6ca6f305 Protect test entries with a mutex 2017-04-20 09:44:21 +02:00
Jonathan Hall ab2de9ffb1 Fix a few comments to conform to Go standards 2017-04-20 09:29:15 +02:00
DmitriyMV 3bcb09397d This commit fixes data race using atomics. We switch type of level from uint8 to uint32 but due memory alignment on most platforms it will not result in any additional memory. 2017-03-23 19:13:49 +03: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 547e984ad9 Merge pull request #480 from xulike666/fix-dead-url
Fix dead url for alt_exit.go
2017-03-15 11:13:20 -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
Simon Eskildsen 79fbc614d9 Merge pull request #485 from mohanraj-r/patch-1
Add missing quotes around `user_ip` in example for "Default Fields"
2017-03-15 11:12:14 -04:00
Simon Eskildsen ba1b36c82c release 0.11.5 2017-03-14 15:23:53 -04:00
Simon Eskildsen 924f89f0e3 changelog for #372 2017-03-14 15:23:30 -04:00
Simon Eskildsen 1deb2db2a6 Merge pull request #372 from glasser/glasser/entry-writer
Add Writer and WriterLevel to Entry
2017-03-08 15:36:35 -05:00
Ivan Borshukov f0542780a2 Fix typo 2017-03-07 18:02:20 +02:00
David Glasser 1fccefa2f4 Add Writer and WriterLevel to Entry
This lets you do things like:

    cmd := exec.Command("command")
    stdout := logrus.WithField("fd", "stdout").Writer()
    defer stdout.Close()
    stderr := logrus.WithField("fd", "stderr").Writer()
    defer stderr.Close()
    cmd.Stdout = stdout
    cmd.Stderr = stderr
2017-03-06 16:24:57 -08: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
Simon Eskildsen 0208149b40 changelog: 0.11.4 2017-02-27 07:44:09 -05:00
Simon Eskildsen cf5e096eea Merge pull request #493 from 0xE0F/master
Fixed compilation for Solaris
2017-02-27 07:43:41 -05:00
Simon Eskildsen dc71819687 release 0.11.3 2017-02-27 07:07:50 -05:00
Simon Eskildsen 4058491e25 changelog: add 481 2017-02-27 07:07:31 -05:00
Simon Eskildsen aee0dbac51 Merge pull request #481 from darrenmcc/import-io
Fixed import
2017-02-27 07:05:40 -05:00
一零村长 96acd6ab04 add import for example 2017-02-24 11:58:06 +08:00
Denis Barakhtanov f9d4a063d1 Fixed compilation for Solaris
There are missing "io" import and unused variable
Releated issues #471 #289
2017-02-24 10:16:21 +11:00
Kelvin Zhang 9fd28e6cca Add Discordrus, a hook for Discord, to README.md 2017-02-17 14:09:07 +00:00
Simon Eskildsen 7f4b1adc79 changelog: add entries for formatter 2017-02-15 11:43:24 -05:00
Simon Eskildsen 67bca5dc4f Merge pull request #484 from bbrks/text-formatter-quote-config
Text formatter quote configuration
2017-02-15 11:41:55 -05:00
Ben Brooks e98cd92ccf
Address PR comments 2017-02-15 13:08:26 +00:00
Mohan Raj Rajamanickam ca9493dc53 Fix quoted key field in Readme 2017-02-14 16:37:12 -08:00
Ben Brooks b545aee819
Add TextFormatter config for custom quote runes 2017-02-14 11:51:23 +00:00
Ben Brooks cfca98e6d9
Add 'QuoteEmptyFields' option to TextFormatter 2017-02-14 10:53:03 +00:00
Darren McCleary 6b682c5933 More import fixes 2017-02-13 10:56:35 -05:00
Darren McCleary d82ae3267f Fixed import 2017-02-08 14:03:21 -05:00
Aaron.L.Xu 169c157a10 fix dead url for alt_exit.go 2017-02-08 19:18:14 +08:00
Simon Eskildsen 3f603f494d readme: add section on default fields 2017-02-07 13:34:08 -05:00