Commit Graph

349 Commits

Author SHA1 Message Date
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
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
Simon Eskildsen b8e090955a Merge pull request #188 from mapuri/master
Fix Fatal*() functions of `logger` to match the behavior of Fatal*() functions of `entry`
2015-05-26 20:09:48 -04:00
Madhav Puri fdae7ddaf5 Fix Fatal*() function of logger to match the behavior of Fatal*() functions of entry
Signed-off-by: Madhav Puri <madhav.puri@gmail.com>
2015-05-26 16:47:13 -07:00
Simon Eskildsen 27857424f9 version: bump to 0.8.1 2015-05-26 18:46:05 -04:00
Simon Eskildsen 488629fea7 Merge pull request #187 from mapuri/master
Fix Fatalf() and Fataln() to exit irrespective of log level
2015-05-26 17:15:44 -04:00
Madhav Puri c0ea7891cd Fix Fatalf() and Fatalln() to exit irrespective of log level
Signed-off-by: Madhav Puri <madhav.puri@gmail.com>
2015-05-26 14:01:33 -07:00
Simon Eskildsen 386ccca031 version: bump to 0.8 2015-05-26 09:04:23 -04:00
Simon Eskildsen f1addc2972 formatter/json: fix possible race 2015-05-26 09:02:45 -04:00
Simon Eskildsen 092eda23b5 Merge pull request #183 from evalphobia/feature/sentry-http-request
Added special field for *http.Request to Sentry hook
2015-05-22 10:03:26 -04:00
evalphobia 5939a6cbf9 Added special field for *http.Request to Sentry hook 2015-05-22 21:14:51 +09:00
Simon Eskildsen 81e2611f37 Merge pull request #168 from squirkle/master
Added Raygun hook.
2015-05-21 10:47:48 -04:00
Philip Allen 099b1bffe0 removing raygun hook from hooks dir, adding reference in hooks table of main README.md 2015-05-21 10:28:14 -04:00
Philip Allen 25bb6a1099 Merge branch 'master' of https://github.com/Sirupsen/logrus 2015-05-21 10:25:46 -04:00
Simon Eskildsen 52919f182f Merge pull request #178 from mattbaird/patch-1
proper use of TextFormatter in documentation
2015-05-12 12:38:02 -05:00
Matthew Baird f1d275b800 proper use of TextFormatter in documentation 2015-05-12 09:27:20 -07:00
Simon Eskildsen 48c21bc05c Merge pull request #177 from xyproto/master
Terminals on Windows may not have colors
2015-05-12 09:45:09 -05:00
Alexander F Rødseth 29d30d9f63 Terminals on Windows may not have colors 2015-05-12 16:31:17 +02:00
Philip Allen d97bbff05e Moving raygun hook to its own repositiroy at github.com/squirkle/logrus-raygun-hook 2015-05-01 10:48:23 -04:00
Simon Eskildsen aaf92c9571 Merge pull request #170 from aybabtme/log-to-stderr
default logs to stderr
2015-04-30 08:58:29 +02:00
Antoine Grondin f8f08842cc default logs to stderr 2015-04-22 22:53:40 -04:00
Antoine Grondin 26709e2714 Merge pull request #171 from Sirupsen/fix/broken-test-by-json-unmarshal
assertify changed behavior and consider float64 != int
2015-04-22 22:53:12 -04:00
Antoine Grondin 9561fcd7d6 assertify changed behavior and consider float64 != int 2015-04-22 22:48:32 -04:00
Philip Allen 6b18d5cf62 Added Raygun hook. 2015-04-17 10:51:07 -04:00
Simon Eskildsen 55eb11d21d changelog: 0.7.3 2015-04-09 19:08:25 -04:00
Simon Eskildsen 7ca50a32cd Merge pull request #162 from stevvooe/timestamp-layout
Allow configuration of timestamp layout
2015-04-09 19:07:39 -04:00
Stephen J Day e14471f8f2 Allow configuration of timestamp layout
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-06 12:18:40 -07:00
Simon Eskildsen cdd90c38c6 readme: fix comment on context logger 2015-03-31 11:30:41 -04:00
Simon Eskildsen 7586a697f6 readme: add example of context logging 2015-03-31 11:24:31 -04:00
Simon Eskildsen e00ed35f54 Merge pull request #160 from gravis/patch-1
Add graylog hook to Readme
2015-03-27 10:00:09 -04:00
Philippe Lafoucrière 034cc50c51 Add graylog hook to Readme
I have updated the list to be a table instead. It's much more readable than the previous version, and used in a lot of places (ex: https://github.com/codegangsta/negroni/blob/master/README.md)
2015-03-27 09:43:24 -04:00
Simon Eskildsen ae9ba8a88e changelog: add #158 2015-03-26 22:48:30 -04:00
Simon Eskildsen 35d5aa8f70 Merge pull request #158 from scarletmeow/custom_text_format
allow custom time format string in TextFormatter
2015-03-26 22:09:19 -04:00
Tiffany Low 3e3e87a165 allow custom time format string in TextFormatter
- fixes examples in README.md that incorrectly state usage of
  RFC3339Nano format instead of RFC3339
2015-03-26 16:15:06 -07:00
Simon Eskildsen 3fc34d061b Merge pull request #154 from imkira/master
improved: move level check from entry to logger and bail out faster
2015-03-20 00:05:19 -04:00