Commit Graph

21 Commits

Author SHA1 Message Date
Tommaso Visconti 70234da9c3 Add instructions to use different log levels for local and syslog
This commit adds instructions to the syslog readme about how to
send different log levels to local logging (`log.SetLevel`) and
syslog hook.

fixes #1369
2023-02-17 10:10:23 +01:00
drampull 4981d8161c Added TRACE level logging. 2018-10-17 18:22:00 -07:00
David Bariod 5a88d3c21d Add missing module dependency for windows build 2018-09-19 13:46:16 +02:00
dmathieu f30ff25fb7 rename logrus_syslog package to syslog
Package names shouldn't be using underscores. There is also nothing
wrong with naming this package `syslog`. People can include it with any
name they wish.
2017-07-18 15:18:46 +02:00
Tomas Doran 0afea37159 Update due to rename of github account 2017-05-19 13:00:16 +01:00
Simon Eskildsen acfabf31db logrus: use lower-case in comments and examples 2017-05-12 15:21:58 -04:00
Simon Eskildsen 26809363aa Revert "Merge pull request #384 from mnzt/master"
This reverts commit 42b84f9ec6, reversing
changes made to cf60a8c5d5.
2016-12-01 18:53:16 -05:00
Toby c8b0c0e43b
Fixing import for airbrake and adding build constraint to example hook 2016-07-27 13:12:26 +01:00
Toby a5dbcc756c
Renaming 'Sirupsen' to 'sirupsen' 2016-07-18 16:36:46 +01:00
Joern Barthel 088ac1380d Expose all levels (for hooks). 2016-02-22 10:46:52 +01:00
Gert-Jan Timmer 6815eb0dbd Added Build Rule
Add build rule, to only build on Linux platform, reason for adding this: This allows the usage of the logrus package within a Windows based project. Current logrus project fails to import due to the fact the syslog is missing on Windows.
2015-10-27 10:18:45 +01:00
devopstaku 4805f72c39 Add description about how to connect to local syslog with syslog hook 2015-09-09 21:55:50 +08:00
Roman Konz 5e322e5cfe Update README.md - changed conflicting imports 2014-12-05 11:00:48 +01:00
Vincent Bernat c0b1ea991b syslog: let syslog output lookup level directly in Entry struct
Log level has moved from `entry.Data["level"]` to `entry.Level`. Use
that to get the right level.

Fix: #82
2014-11-23 18:02:34 +01:00
Didip Kerabat 2a6183b106 Updated to use new style of log level. 2014-07-27 22:43:21 -07:00
Didip Kerabat 426748f339 Merge branch 'master' of github.com:didip/logrus 2014-07-27 22:05:06 -07:00
Didip Kerabat 491a120617 Call entry.String() directly. 2014-07-27 22:04:55 -07:00
Didip Kerabat ffc6dc63ef go fmt 2014-07-27 22:01:56 -07:00
Didip Kerabat 24b6c463ab Update frontpage README 2014-07-18 15:47:34 -07:00
Didip Kerabat 58cc2b3fec Added README 2014-07-18 15:45:49 -07:00
Didip Kerabat 5c909080d7 SyslogHook 2014-07-18 00:28:40 -07:00