Commit Graph

724 Commits

Author SHA1 Message Date
Tracer Tong 5efed00cb0 Update README.md to fix link to Kafka hook
Current link is broken. I have made a mix from couple of dead projects and I think I will support my version for long time.
2017-08-17 16:33:45 +09:00
Paul Seiffert f006c2ac47
changelog: bump to v1.0.3 2017-08-15 22:20:55 +02:00
Paul Seiffert e98d2a2169 Merge pull request #616 from rafecolton/make-examples-testable
Replace example files with testable examples
2017-08-15 22:19:09 +02:00
Rafe Colton e3e7388b95 Replace example files with testable examples 2017-08-10 10:46:39 -04:00
Damien Mathieu 181d419aa9 Merge pull request #604 from sirupsen/use_ssh_terminal
Remove os-specific IsTerminal methods
2017-07-28 09:42:14 +02:00
dmathieu e66f22976f remove os-specific IsTerminal methods, and use x/crypto/ssh/terminal instead 2017-07-27 15:26:52 +02:00
Damien Mathieu 9aa7601a11 Merge pull request #605 from sirupsen/fix_tempfile_all_platforms
Fix creating temp files on non-unix platforms
2017-07-27 15:26:26 +02:00
dmathieu 60f3438580 fix creating temp files on non-unix platforms 2017-07-27 14:46:09 +02:00
dmathieu d4ae98b177 improve test failure messages for alt_exit_test 2017-07-27 14:06:49 +02:00
Damien Mathieu c2f40cf579 Merge pull request #600 from AndreKR/appveyor
Add appveyor.yml
2017-07-27 09:51:31 +02:00
André Hänsel 6f38f401f7 Add appveyor.yml 2017-07-27 05:09:24 +02:00
Damien Mathieu abee6f9b06 Merge pull request #598 from sirupsen/goling_formatters
Fix golint issues in formatters
2017-07-26 20:39:46 +02:00
Damien Mathieu 259b4b7f45 Merge pull request #594 from sirupsen/sys_unix
Use x/sys/unix instead of syscall
2017-07-26 14:47:05 +02:00
dmathieu 325575f181 fix golint issues in formatters 2017-07-26 14:26:30 +02:00
dmathieu 8a90bf3fff use x/sys for non-unix files 2017-07-26 10:51:31 +02:00
dmathieu f4125cea1b get Termios from x/sys/unix 2017-07-26 10:51:28 +02:00
dmathieu 0af92424f9 install x/sys/unix before running the travis tests 2017-07-26 10:50:52 +02:00
Christy Perez a9ca4bfe68 switch terminal_linux to x/sys/unix from syscall
Closes sirupsen/logrus/issues/515

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2017-07-26 10:50:51 +02:00
Damien Mathieu 3114d6f617 Merge pull request #597 from DAddYE/master
IsTerminal should work in nacl too
2017-07-26 10:09:27 +02:00
Davide D'Agostino 31e110ccae IsTerminal should work in nacl too
I'm running logrus on a nacl environment and I get:

```
github.com/sirupsen/logrus/text_formatter.go:70: undefined: IsTerminal
```
2017-07-25 14:20:14 -07:00
Damien Mathieu 8d4f6a97d3 Merge pull request #595 from mozillazg/patch-1
readme: remove duplicate godoc link
2017-07-25 17:02:49 +02:00
Huang Huang a663abbf13 readme: remove duplicate godoc link 2017-07-25 22:52:40 +08:00
Damien Mathieu 86bd21e371 Merge pull request #593 from sirupsen/buffer_length
Use buffer length to avoid generating strings every time
2017-07-25 10:20:43 +02:00
dmathieu 211aba39c8 use buffer length to avoid generating strings every time 2017-07-25 09:39:35 +02:00
Damien Mathieu 3eef8ce63d Merge pull request #591 from sirupsen/fix_trailing_space
Fix trailing space
2017-07-22 13:39:13 +02:00
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