Commit Graph

803 Commits

Author SHA1 Message Date
dmathieu 159e991025 only add a space between text entries if there is already content
So we don't have a trailing space at the end of each log line
2017-07-21 16:14:28 +02:00
dmathieu b264ba77c3 add test in text formatter checking the formatting 2017-07-21 16:06:23 +02:00
dmathieu 00386b3fbd remove unfinished doc sentence
Closes #521
2017-07-19 17:47:53 +02:00
Damien Mathieu edfd0b9f75 Merge pull request #589 from sirupsen/test_subpackages
Test all subpackages too
2017-07-19 17:47:00 +02:00
dmathieu a4149b6fd1 travis needs the airbrake hook 2017-07-19 16:53:07 +02:00
dmathieu bfff600029 test all subpackages too 2017-07-19 16:31:49 +02:00
dmathieu fdea1df936 add joonix/log to the formatters
Closes #520
2017-07-19 16:24:10 +02:00
Damien Mathieu e49c59d69b Merge pull request #587 from sirupsen/logrus_syslog
Rename logrus_syslog package to syslog
2017-07-18 16:06:42 +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
Damien Mathieu 5ff5dd844d Merge pull request #585 from DmitriyMV/improve-doc
Improve logrus.Entry.Level documentation
2017-07-17 09:50:14 +02:00
DmitriyMV 95002bc717 Improve logrus.Entry.Level documentation 2017-07-14 15:04:50 +03:00
Damien Mathieu 51dc0fc643 Merge pull request #580 from sirupsen/remove_quote_character
Remove QuoteCharacter option
2017-07-13 13:57:24 +02:00
dmathieu 2727ac94b0 remove QuoteCharacter option
This seems to be one of the most reported issues, as it makes it a lot
harder to safely escape strings.

This option is very much an edge case, and it's causing too much issues
compared to what it provide.
2017-07-13 13:46:35 +02:00
dmathieu a3f95b5c42 add changelog entry about making SetLevel public 2017-07-13 13:42:50 +02:00
Damien Mathieu c26a3edef1 Merge pull request #574 from stevejarvis/master
Export logger's set level function to address #503.
2017-07-13 13:42:06 +02:00
Damien Mathieu 1fe8319fca Merge pull request #584 from Jimdo/changelog
Mention quoting bugfix in CHANGELOG
2017-07-12 18:35:25 +02:00
Paul Seiffert 1fb8942542
Mention quoting bugfix in CHANGELOG 2017-07-12 18:16:53 +02:00
Damien Mathieu 3f40c78a45 Merge pull request #583 from Jimdo/fix_quoting_nonstring
Quote non-string Values
2017-07-12 18:14:13 +02:00
Paul Seiffert b019ab48c5
Error is not a special case anymore 2017-07-12 17:54:01 +02:00
Paul Seiffert 5f89343f84
Generalize test case 2017-07-12 17:54:01 +02:00
Paul Seiffert 4c4851c96a
Reduce duplicate code 2017-07-12 17:16:13 +02:00
Paul Seiffert b9cfd82645
Quote non-string values if necessary 2017-07-12 17:15:13 +02:00
dmathieu 10e5e38b53 remove ^ from custom quote characters
As of #563, this charater is not quoted anymore.
2017-07-12 14:33:57 +02:00
Damien Mathieu 6f87387fae Merge pull request #563 from meatballhat/unquote-more-chars
Allow more chars in unquoted text formatter output
2017-07-12 13:55:30 +02:00
Damien Mathieu 398dd088c2 Merge pull request #399 from pkieltyka/master
TextFormatter: brighten up the blue
2017-07-12 13:42:20 +02:00
Simon Eskildsen 7f976d3a76 readme: link to comment on casing 2017-07-10 14:22:29 -04:00
Simon Eskildsen 75b918d052 Merge pull request #575 from Jimdo/quote_safely
Safely format data when printing
2017-07-10 13:09:21 -04:00
Paul Seiffert 04a001ce50
Mention bugfix in changelog 2017-07-10 17:40:03 +02:00
Paul Seiffert 0025402362
Extract quoting into separate method 2017-07-10 14:18:45 +02:00
Paul Seiffert 0383f49850
Use custom quote char and escape it 2017-07-10 14:09:37 +02:00
kpcyrd f78f8d07f6
Safely format data when printing
Fixes #531
2017-07-10 13:12:47 +02:00
Simon Eskildsen 3d84af1ae0 Merge pull request #545 from shuLhan/shuLhan-hook-mattermost
README: add hook for Mattermost
2017-07-09 13:36:25 -04:00
Simon Eskildsen 8c2f155eec Merge pull request #556 from Deseao/master
Update test hook name
2017-07-09 13:35:57 -04:00
Simon Eskildsen 70f6d018e0 Merge pull request #571 from mcandre/patch-1
fix casing
2017-07-09 13:35:17 -04:00
Steve Jarvis 20d755ea5e Export logger's set level function to address #503. 2017-07-07 16:32:18 -04:00
Andrew Pennebaker 3963c935b8 fix casing
fix casing leftover from older logrus
2017-07-06 17:21:34 -05:00
Simon Eskildsen 59d0ca41e5 readme: add note about lookign for maintainers 2017-07-06 09:44:07 -04:00
Simon Eskildsen 7dd06bf38e readme: clarify casing issues further 2017-06-29 20:54:20 -04:00
Simon Eskildsen 3d4380f53a readme: remove < 1.0.0 note from readme 2017-06-20 10:45:10 -04:00
Dan Buch 5d67428857
Allow more chars in unquoted text formatter output 2017-06-18 09:48:52 -04:00
Alex Haynes a279ebafa6 Update hook name
There is no hooks/null
2017-06-13 13:28:47 -05:00
Simon Eskildsen 85b1699d50 ci: v1.0.0 fix travis 2017-06-08 18:14:41 -04:00
Simon Eskildsen 202f25545e changelog: bump to v1.0.0 2017-06-08 17:02:02 -04:00
Simon Eskildsen 68cec9f21f hooks: remove non-released null hook 2017-06-06 16:59:45 -04:00
Simon Eskildsen abb8cd67b6 readme: update with reference to fixing glide 2017-06-06 16:59:25 -04:00
Simon Eskildsen 33a34430d1 Merge pull request #548 from shinji62/feature/adding_syslogtls_hook_readme
Add TLS syslog hook to the readme.
2017-06-06 15:08:02 -04:00
Simon Eskildsen 5b44a589ca Merge pull request #547 from bobtfish/rename_syslog
Update due to rename of github account
2017-06-06 15:07:04 -04:00
Simon Eskildsen d3731ac026 readme: more explicit case instructions 2017-06-06 15:05:30 -04:00
Etourneau Gwenn a62b1531c0
Updating Readme to add syslogtls repo. 2017-05-25 09:53:41 +09:00
Tomas Doran 0afea37159 Update due to rename of github account 2017-05-19 13:00:16 +01:00