Commit Graph

876 Commits

Author SHA1 Message Date
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
Jay Qin 6223de399c Fix the JSONFormatter example comment 2017-03-23 09:50:46 -07: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
Paul Litvak fec838f389 Added SQS Hook 2017-03-22 22:32:29 +02:00
Alexey Remizov 6054749f37 Fixed typo in the comment 2017-03-22 17:09:05 +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
Christian Müller 56103bcb33 Fixes typo 2017-02-10 16:30:30 +01: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
Simon Eskildsen c078b1e43f changelog: add fixing windows terminal detection 2017-02-07 06:49:18 -05:00
Simon Eskildsen 066a382098 Merge pull request #476 from majimboo/patch-1
Fixed missing imports for windows terminal
2017-02-07 06:48:23 -05:00
Simon Eskildsen ac38cb37a8 readme: fix markdown code syntax for stdlib example 2017-02-07 06:40:37 -05:00
Majid Arif Siddiqui 5c8f1691bc Fixed missing imports for windows terminal 2017-02-07 11:28:14 +08:00
Simon Eskildsen 080ca65fb5 readme: add section on overriding stdlib logger 2017-02-06 19:56:22 -05:00
Simon Eskildsen feda23452a readme: link to colorable for windows coloring 2017-02-06 19:51:07 -05:00
Simon Eskildsen b9def5b3c3 readme: even more hooks 2017-02-06 19:44:51 -05:00
Simon Eskildsen 38f1ab3057 changelog: add for 0.11.0 and 0.11.1 2017-02-06 19:40:39 -05:00
Simon Eskildsen e2fcfb2fba readme: add some entries from stale PRs 2017-02-06 19:40:31 -05:00
Simon Eskildsen 03bf27ef26 Merge pull request #471 from sirupsen/terminal-actual-fd
text_formatter: detect tty based on fd
2017-02-06 19:32:13 -05:00
Simon Eskildsen 141e6dc6a6 readme: update with example of logging to file 2017-02-06 19:23:53 -05:00
Simon Eskildsen 11fbf0fa42 text_formatter: fix race 2017-02-06 19:16:49 -05:00