Commit Graph

585 Commits

Author SHA1 Message Date
Diego Bernardes de Sousa Pinto 1d47e5ed0e Update README.md
Just a small fix.
2015-08-18 15:15:02 -03:00
Antoine Grondin 9c060de643 Merge pull request #226 from marcosnils/entry_race
Fix race condition in entry log method
2015-08-08 03:20:48 -04:00
Antoine Grondin eb98773bde Merge pull request #228 from hvnsweeting/patch-1
Update logger.go
2015-08-08 03:06:26 -04:00
Marcos Lilljedahl 8280b8b9a6 Add comment to log function
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-07 18:29:20 -03:00
Viet Hung Nguyen d5580f082a Update logger.go 2015-08-07 15:56:08 +07:00
Marcos Lilljedahl 35f12fb760 Fix panic return type
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-06 21:19:22 -03:00
Marcos Lilljedahl 396f8eefaa Make log method receive a copy of Entry structure to avoid race
conditions

Fixes #216

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2015-08-06 21:01:47 -03:00
Simon Eskildsen 8bca266407 changelog: update with raven change 2015-07-28 08:10:54 -04:00
Simon Eskildsen 5701be89e7 Merge pull request #215 from underarmour/sentry-hook-with-client
Allow sentry hook to be created using an initialized raven client
2015-07-28 08:09:19 -04:00
Simon Eskildsen 11538ee688 changelog: reformat for proper markdown 2015-07-23 21:49:03 -04:00
Simon Eskildsen aa3ad346e4 Revert "Merge pull request #208 from Arkan/master"
This reverts commit 7eac5879a5, reversing
changes made to c79ccaf8c2.
2015-07-23 21:45:57 -04:00
Simon Eskildsen 3cb248e9df changelog: add 218 2015-07-22 11:29:28 -04:00
Simon Eskildsen 86d90b1593 Merge pull request #218 from pengzhai/master
Fix data race issue in TextFormatter. Fix for https://github.com/Siru
2015-07-22 11:27:57 -04:00
Peng Zhai a8127fd485 Change printColored to use timestampFormat. 2015-07-20 10:43:12 -07:00
Peng Zhai 570db1b0b9 Fix data race issue in TextFormatter. Fix for https://github.com/Sirupsen/logrus/issues/217. 2015-07-16 21:02:46 -04:00
Allan Glen 1b73323cd0 Allow sentry hook to be created using an initialized raven client 2015-07-09 10:12:05 -06:00
Simon Eskildsen 07d998d174 Merge pull request #213 from awonak/sentry-tags
Sentry tags
2015-07-07 14:07:35 -04:00
Adam Wonak afe474b84f updated readme with usage example 2015-07-07 11:52:22 -05:00
Adam Wonak 8ce3556d31 Added a new SentryHook initialization func for setting tags. 2015-07-07 11:41:45 -05:00
Simon Eskildsen cd321ca94d version: bump to 0.8.3 2015-07-07 05:31:24 -04:00
Simon Eskildsen e815b55144 Merge pull request #209 from pdf/print_struct_keys
Print struct keys for struct log fields
2015-07-07 05:30:21 -04:00
Simon Eskildsen b9685ff27b Merge pull request #212 from evalphobia/master
Include fluentd in list of available hooks
2015-07-07 05:30:07 -04:00
Simon Eskildsen 7eac5879a5 Merge pull request #208 from Arkan/master
Fix Entry log level
2015-07-07 05:29:58 -04:00
evalphobia 9846c73426 Include fluentd in list of available hooks 2015-07-07 12:54:35 +09:00
Arkan 0be4ee004c Fix Entry log level 2015-07-06 22:27:39 +02:00
Simon Eskildsen c79ccaf8c2 changelog: add BSD note 2015-07-06 11:44:55 -04:00
Simon Eskildsen d2045717c6 Merge pull request #203 from cgag/master
Add support for DragonflyBSD and NetBSD.
2015-07-06 11:44:22 -04:00
Peter Fern 62bd221be1 Print struct keys for struct log fields
Can be useful for debugging, saves a lot of referring to source code
2015-07-05 17:08:19 +10:00
Simon Eskildsen ab7e46ea22 Merge pull request #206 from moul/patch-1
fix typo
2015-06-30 22:57:07 -04:00
Manfred Touron 3b1ecc5fdd fix typo 2015-06-30 23:20:00 +02:00
Simon Eskildsen b34dae6f7a changelog: add entries for unreleased 2015-06-30 11:11:41 -04:00
Simon Eskildsen cddce4b0ad Merge pull request #204 from noxiouz/speedup_textformatter
[TextFormatter] Speed up (~40%). Fprintf is changed to buffer.Write*
2015-06-30 11:10:09 -04:00
Anton Tiurin e35e0e00b8 [TextFormatter] Speed up. Fprintf is changed to buffer.Write*
As Fprintf is slower than buffer.WriteString, it's replaced
to faster call.

Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-06-28 12:36:14 +03:00
Curtis Gagliardi 8a5c13cf78 Add support for DragonflyBSD and NetBSD.
This merges all the bsd (including darwin) support into terminal_bsd.go

Cross-compiling works for all of them in that they all compile, but I've only
actually tested the binary on dragonflybsd.  I don't see why this wouldn't
work on the others since I don't think they'd compile if they didn't
support TIOCGETA and Termios, but just a heads up.
2015-06-26 12:31:17 -07:00
Simon Eskildsen 93a1736895 hooks: expose LevelHooks type 2015-06-26 11:42:49 -04:00
Simon Eskildsen d3e4ea4032 Merge pull request #201 from tail/add-sentry-link
Added link to Sentry hook.
2015-06-25 08:38:08 -07:00
Jason Yan 4ab59a94fa Added link to Sentry hook. 2015-06-24 19:37:01 -07:00
Simon Eskildsen 2a0a9a12ae Merge pull request #199 from freeformz/rollrus
Link to the rollbar notification hook that we use.
2015-06-19 21:53:44 -04:00
Edward Muller 7eed28eea2 Link to the rollbar notification hook that we use. 2015-06-19 16:04:35 -07:00
Simon Eskildsen 21d4508646 Merge pull request #194 from zbindenren/master
add link to mail hook
2015-06-10 05:38:35 -04:00
Rene Zbinden dc834b8b47 add link to mail hook 2015-06-10 11:09:59 +02:00
Simon Eskildsen e3eccfaeb5 readme: fix typo in honeybadger 2015-06-08 19:55:33 -04:00
Simon Eskildsen c8ed7a5eae readme: add @agonzalezro honeybadger hook to readme 2015-06-08 19:54:53 -04:00
Simon Eskildsen 0f2a4955b1 Merge pull request #191 from rifflock/include-lfshook
Include lfshook in list of available hooks
2015-06-02 19:14:05 -04:00
rifflock 245d8971d1 Include lfshook in list of available hooks 2015-06-02 15:36:57 -07:00
Simon Eskildsen c370730052 Merge pull request #190 from rebill/master
fix SetFormatter error
2015-06-02 08:34:42 -04:00
Rebill.Ruan e86319aa1d fix error 2015-06-02 15:33:32 +08:00
Simon Eskildsen 6ba91e24c4 Merge pull request #189 from jondot/patch-1
logrus_syslog / syslog - example should now be valid
2015-05-27 09:39:09 -04:00
Dotan J. Nahum 05d18c70e2 logrus_syslog / syslog - example should now be valid 2015-05-27 14:29:11 +03:00
Simon Eskildsen 98a1428efc version: 0.8.2 2015-05-26 20:10:50 -04:00