Commit Graph

1223 Commits

Author SHA1 Message Date
Edward Muller 39a5ad1294
Merge pull request #991 from muesli/conversion-fixes
Avoid unnecessary conversion
2019-10-12 11:05:20 -07:00
Edward Muller 0bbebc5e2d
Merge pull request #1024 from flimzy/gopherjs
Add terminal_check_js.go file, for compatibility with GopherJS
2019-10-12 10:59:10 -07:00
Edward Muller 9e05426313
Merge pull request #990 from muesli/assign-fixes
Fixed ineffectual assignment in test
2019-10-12 10:36:50 -07:00
Edward Muller e33eea30de
Merge pull request #1017 from freeformz/ffz/docWriter
some minimal documentation for Logger.Writer{,Level}
2019-10-12 10:33:50 -07:00
Edward Muller e5e927cae6
Merge pull request #1032 from zput/ReadMeAddThirdFormatter
ReadMe.md file adds The Third Formatter link
2019-10-12 10:32:27 -07:00
Edward Muller 890ead5200
Merge pull request #1034 from flowonyx/patch-1
Fixed some typos in README.md
2019-10-12 10:30:36 -07:00
Edward Muller 107a185f83
Merge pull request #1037 from psampaz/travis_go_113
add Go 1.13 in travis
2019-10-12 10:29:57 -07:00
Pantelis Sampaziotis 0cb0485e38 add Go 1.13 in travis 2019-10-11 16:42:11 +03:00
Joel Williams 6d035663cd
Fixed some typos in README.md
Fixed a few typos and grammatical issues in the README.md. I hope this is helpful just to make a small improvement.
2019-10-04 02:25:08 +02:00
zxc 3f89e2545f ReadMe.md file adds The Third Formatter link 2019-09-29 11:27:08 +08:00
Jonathan Hall 305ec52856 Add terminal_check_js.go file, for compatibility with GopherJS 2019-09-19 11:06:10 +02:00
Edward Muller 6cd8d684fd
some minimal documentation for Logger.Writer{,Level}
This also includes two examples extracted from the readme.
2019-09-05 19:34:46 -07:00
Edward Muller 60320cbc2c
return early
This makes it easier to read / understand and is more idiomatic.
2019-09-05 16:09:16 -07:00
tbunyk 8b0b8a88f2 Merge remote-tracking branch 'upstream/master' 2019-09-03 15:29:19 +03:00
Simon Eskildsen de736cf91b readme: we have great maintainers now 2019-08-07 06:34:36 -04:00
Christian Muehlhaeuser 0c8c93fe4d
Avoid unnecessary conversion
No need to convert here.
2019-07-20 03:29:10 +02:00
Christian Muehlhaeuser d4257626ad
Fixed ineffectual assignment in test
Don't assign l if it's not being checked/used afterwards.
2019-07-20 03:27:21 +02:00
David Bariod 07a84ee741
Merge pull request #977 from lynncyrin/pad-option
Add an pad option log level text
2019-07-01 16:35:06 +02:00
Lynn Cyrin 539b8af839
its => it's 2019-06-27 18:35:00 -07:00
Lynn Cyrin af6ed964ef len => RuneCount
note: this is not currently easily testable without a larger diff that refactors the levels
2019-06-26 20:48:04 -07:00
Lynn Cyrin dcce32597d avoid escapes! h/t @therealplato 2019-06-26 20:37:17 -07:00
Lynn Cyrin 8ba442aca6 init the loggers in tests 2019-06-24 20:50:37 -07:00
Lynn Cyrin 693469de8f dynamically space the level text 2019-06-24 20:42:20 -07:00
Lynn Cyrin b5cc19ce3e
bump ci 2019-06-05 00:49:35 -07:00
Lynn Cyrin bef31a5df9
wording shift 2019-06-05 00:41:05 -07:00
Lynn Cyrin 691f1b6074
add a space back 2019-06-05 00:36:14 -07:00
Lynn Cyrin 2d641d1668
update the readme 2019-06-05 00:33:48 -07:00
Lynn Cyrin 58f7e00129
update comments 2019-06-05 00:27:10 -07:00
Lynn Cyrin fa0d2a82ff
add implementation and tests 2019-06-05 00:10:46 -07:00
Lynn Cyrin 23045ec6d1
tracking commit 2019-06-04 20:09:59 -07:00
Lynn Cyrin b851829a69
tracking commit 2019-06-04 20:08:45 -07:00
David Bariod 2a22dbedba
Merge pull request #962 from Clivern/patch-1
Update Example to Append to the log file not to overwrite
2019-05-18 15:52:02 +02:00
David Bariod 839c75faf7 Release 1.4.2 2019-05-18 12:38:48 +02:00
David Bariod cfb9d25dff
Merge pull request #969 from sirupsen/plan9_build
fix build break for plan9
2019-05-18 12:33:47 +02:00
David Bariod 744fc4caad fix build break for plan9 2019-05-18 11:44:18 +02:00
David Bariod e0108d9285
Merge pull request #966 from nlepage/feature/nacl
Add a checkTerminal for nacl to support running on play.golang.org
2019-05-18 10:33:20 +02:00
David Bariod f2849a8fb2
add full cross compilation in travis (#963)
* add full cross compilation in travis

* reduce the travis build matrix

* disable cross build for plan9 and nacl
2019-05-18 10:27:12 +02:00
Nicolas Lepage 1bc909a4f8
Add a checkTerminal for nacl to support running on play.golang.org 2019-05-14 09:13:07 +02:00
A. F 0006e8ce1a
Update README.md 2019-05-11 00:40:04 +02:00
David Bariod f0375eb5b5
Merge pull request #961 from sirupsen/ci_build_matrix
remove go 1.10 from ci build matrix
2019-05-10 09:41:01 +02:00
David Bariod 1a601d2059 remove go 1.10 from ci build matrix 2019-05-10 06:44:02 +02:00
Clément Chigot 5521996833 Update x/sys/unix to fix AIX support 2019-04-23 11:34:05 +02:00
David Bariod 9b3cdde74f
Merge pull request #946 from sirupsen/solaris_build
Fix solaris build
2019-04-03 11:10:19 +02:00
David Bariod c1b61542d7 Fix solaris build 2019-04-03 10:46:44 +02:00
David Bariod 8bdbc7bcc0 Release 1.4.1 2019-04-02 18:14:07 +02:00
David Bariod ba0a156bcc
Merge pull request #937 from tandr/test-travis-3-plat
Test more platforms
2019-04-02 17:52:19 +02:00
David Bariod 717f2ccd7d
Merge pull request #944 from hrxu01/remove_field_if_val_is_empty_for_func_file_filed
remove field if val is empty string for func and file field
2019-04-02 09:30:20 +02:00
David Bariod 8fe117bf7f
Merge pull request #943 from tandr/unexport-isterminal
Unexport IsTerminal
2019-04-02 09:14:47 +02:00
Haoran Xu 6c615e1abe remove field if val is empty string for func and file field in text formatter 2019-04-02 11:43:56 +08:00
Andrey Tcherepanov ede5b639cd Make isTerminal un-exported 2019-04-01 10:16:11 -06:00