Commit Graph

1248 Commits

Author SHA1 Message Date
Alex Payne dbf7fad1dc Don't disconnect on every Fire() 2014-09-13 13:04:25 -07:00
Alex Payne 91f92800d7 Include number of bytes written as debugging output. 2014-09-13 13:03:40 -07:00
Alex Payne 29c4caff54 Log just the message, not the stringified version of the whole log line. 2014-09-13 13:03:15 -07:00
Alex Payne 0a2a97ea82 Improved documentation for Papertrail hook. 2014-09-13 11:55:21 -07:00
Alex Payne a93cac017b Link to Papertrail hook. Format hook links consistently. 2014-09-13 11:55:08 -07:00
Alex Payne f42d215828 README for Papertrail hook with usage info. 2014-09-12 17:44:28 -07:00
Alex Payne 4c9637c8b4 Papertrail hook, uses their UDP interface. 2014-09-12 17:40:09 -07:00
Simon Eskildsen d70cdce21e readme: fix examples 2014-08-29 13:51:19 -04:00
Simon Eskildsen c13432b0a5 Merge pull request #55 from surma-dump/master
Add hiprus to hook list
2014-08-26 09:11:44 -04:00
Alexander Surma 124e36dcb9 Add hiprus to hook list 2014-08-26 12:16:06 +02:00
Simon Eskildsen 736840a898 Merge pull request #53 from suicidejack/master
Ability to completely disable colors when using the text formatter
2014-08-15 00:06:46 +02:00
Matt Price cc9d142633 cleaned up Readme details 2014-08-14 18:04:57 -04:00
Simon Eskildsen aa1c874a55 Merge pull request #49 from suin/patch-1
fix typo in README.md
2014-08-14 23:27:44 +02:00
Matt Price e2a44689a6 updated README and added reference 2014-08-13 13:36:59 -04:00
Matt Price af9d545893 can completely disable colors on text formatter 2014-08-13 13:30:25 -04:00
suin a0dea8c09d fix typo in README.md 2014-08-06 12:09:02 +09:00
Simon Eskildsen d1c2d610bd Merge pull request #46 from didip/master
SyslogHook
2014-07-30 19:35:33 -04:00
Didip Kerabat 2a6183b106 Updated to use new style of log level. 2014-07-27 22:43:21 -07:00
Didip Kerabat 6d5b58f3d6 Merge upstream 2014-07-27 22:19:58 -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
Simon Eskildsen e1154b4315 exported: export to be api compatible 2014-07-26 22:57:45 -04:00
Simon Eskildsen 330e34061e readme: fix examples 2014-07-26 22:51:23 -04:00
Simon Eskildsen 3f50cc7bf7 readme: encourage package level logging
Conflicts:
	README.md
2014-07-26 22:47:30 -04:00
Simon Eskildsen da97142f2a Merge pull request #48 from Sirupsen/break-out-specials
entry: break out time, level and message from data
2014-07-26 22:23:53 -04:00
Simon Eskildsen 33c9d5aebc readme: fix levels 2014-07-26 22:23:41 -04:00
Simon Eskildsen 2c0db7c868 formatter: drop internalFormatter 2014-07-26 22:22:39 -04:00
Simon Eskildsen 3b30f00a12 readme: document log rotation 2014-07-26 21:46:04 -04:00
Simon Eskildsen cfddc66325 entry: document entry and methods 2014-07-26 21:37:06 -04:00
Simon Eskildsen 40069a98d6 entry: break out time, level and message from data 2014-07-26 21:34:29 -04:00
Simon Eskildsen f0cb18fc85 entry: use level string helper 2014-07-26 21:03:20 -04:00
Simon Eskildsen cd8fc638cc levels: add string helper 2014-07-26 21:02:08 -04:00
Simon Eskildsen 6be56e6e50 Merge pull request #45 from aybabtme/export-package-level-log-funcs
Export package func to a standard logger.
2014-07-26 20:48:56 -04:00
Simon Eskildsen 3fed7c4632 readme: backwards compatibility notice 2014-07-26 20:47:50 -04:00
Antoine Grondin beee753015 Fix missing var args expansion. 2014-07-23 17:46:43 -04:00
Antoine Grondin 9a0c9801d6 Add readme paragraph about package exported funcs. 2014-07-23 16:48:53 -04:00
Antoine Grondin e5621dca87 Export package func to a standard logger. 2014-07-21 21:19:55 -04:00
Didip Kerabat 90a435e26a Update more README 2014-07-18 15:48: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
Simon Eskildsen 23c2cf5a8b Merge pull request #40 from aybabtme/assert-type-avoid-panics
Checks that the `error` field is really of `error` type.
2014-07-15 10:34:09 -04:00
Antoine Grondin 52039d614e Checks that the `error` field is really and `error` type. 2014-07-13 14:49:59 -04:00
Simon Eskildsen 97978e5e54 Merge pull request #37 from eapache/fmt
go fmt
2014-06-09 18:07:14 -04:00
Evan Huus 7093f67073 go fmt 2014-06-09 16:27:33 -04:00
Simon Eskildsen 9186db83c2 Merge pull request #34 from shuhaowu/chained-with-fields
Added support to chain withfields
2014-06-09 12:02:01 -04:00
Shuhao Wu 7a3a90cb3d Added test 2014-06-09 11:54:10 -04:00
Shuhao Wu 511792f912 Added support to chain withfields
`WithField` and `WithFields` right now doesn't chain properly. Meaning
that if you do something like:

    localLog := logger.WithField("tag", "value")
    localLog.WithField("v1", "value").Info("message1")
    localLog.Info("message2")

The `v1` will be carried over to `message2`.

With this patch, each WithField/WithFields call are isolated.
2014-06-09 11:32:20 -04:00
Simon Eskildsen d54646ba8e Merge pull request #32 from aarondl/master
Clean up text_formatter code with a byte.Buffer
2014-05-25 21:28:42 -04:00