Commit Graph

718 Commits

Author SHA1 Message Date
Antoine Grondin acf1c0d583 textformatter: errors should be in quotes like strings are 2014-10-03 11:58:24 -04:00
Antoine Grondin 3737b3267e logrus: remove test for dbg alias in ParseLevel. 2014-09-24 23:23:01 -04:00
Simon Eskildsen 45d5602d9c logrus: remove dbg alias for ParseLevel
\cc @mohae
2014-09-25 03:10:06 +00:00
Simon Eskildsen 4617ccb653 Merge pull request #62 from mohae/setloglevel
added support for setting log level using strings: SetLogLevel()
2014-09-24 23:09:09 -04:00
Simon Eskildsen 3b5af9a6dc entry: add comment to panic comparison in log() 2014-09-25 03:08:26 +00:00
Simon Eskildsen 51ca046ebf Merge pull request #65 from pquerna/remove_unused_string
Only convert []bytes into a String() when needed for a panic
2014-09-24 23:06:38 -04:00
Simon Eskildsen f75f3a649c readme: fix papertrail link
\cc @al3x
2014-09-25 03:05:52 +00:00
Simon Eskildsen 5f97d94c1b Merge pull request #60 from aybabtme/fix-duplicate-keys
fix duplication of msg/time/level keys, add benchmarks.
2014-09-24 23:01:39 -04:00
Paul Querna f96066e3bf Only convert []bytes into a String() when needed for a panic, and not on other log levels 2014-09-23 17:05:07 -07:00
Antoine Grondin dc01f6d597 add regression for basic fields being incorrectly prefixed 2014-09-21 13:16:35 -04:00
Joel Scoble 4e6e671281 add ParseLevel to get Level from string 2014-09-17 20:08:23 -05:00
Antoine Grondin c4cc714937 fix duplication of msg/time/level keys, add benchmarks. 2014-09-16 20:19:42 -04:00
Simon Eskildsen 89b6d460f0 Merge pull request #59 from aybabtme/avoid-syscalls-at-each-logentry
text-formatter: assume that IsTerminal doesn't change during execution
2014-09-16 17:24:56 -04:00
Antoine Grondin d35b1c983e text-formatter: assume that IsTerminal doesn't change during execution 2014-09-16 17:19:03 -04:00
Simon Eskildsen 8a758beb29 Merge pull request #58 from al3x/master
Add Papertrail hook
2014-09-14 17:18:59 -04:00
Alex Payne 1aa71730f7 Include airbrake-go dependency in Travis install step. 2014-09-14 11:55:49 -07:00
Alex Payne 29eb7b0e46 Updated Travis CI configuration.
- Move to more recent version of Go, setting aside 1.1. - Use `install` instead of `before_script` to install library dependencies, as per [documentation](http://docs.travis-ci.com/user/languages/go/).
2014-09-14 11:50:08 -07:00
Alex Payne 51770fb4eb Use third-party UDP testing library to tighten up test. 2014-09-13 13:53:20 -07:00
Alex Payne e949967022 Remove cruft. 2014-09-13 13:52:51 -07:00
Alex Payne ced81183ef Proper log levels. 2014-09-13 13:52:24 -07:00
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