Commit Graph

1051 Commits

Author SHA1 Message Date
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
Simon Eskildsen de736cf91b readme: we have great maintainers now 2019-08-07 06:34:36 -04: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
Andrey Tcherepanov 3e06420226 Move files to main directory 2019-04-01 10:15:09 -06:00
Adam Renberg Tamm a6c0064cfa
Merge pull request #941 from hrxu01/return_new_entry_for_Entry.WithContext
return new entry for Entry.WithContext
2019-03-31 15:19:41 +02:00
Haoran Xu 38bc297a3d return new entry for Entry.WithContext 2019-03-29 14:04:26 +08:00
Andrey Tcherepanov 7d700cdff0 Test more platforms
It would be 5 * 3 = 15 runs
2019-03-28 16:13:21 -06:00
Sébastien Lavoie aefd7ecb90
Merge pull request #935 from pacmessica/move-terminal-pkg
Move terminal package
2019-03-28 09:44:47 -04:00
Jessica Paczuski c49ef1d4bf Move terminal package
fixes issue where terminal_check_notappengine.go can't access terminal
package since terminal package is in an internal package
2019-03-28 11:32:49 +01:00
David Bariod 787e519fa8
Merge pull request #932 from tandr/drop-crypto-2
Drop x/crypto package dependency
2019-03-28 09:41:56 +01:00
Andrey Tcherepanov 5d8c3bffc9 Updated travis.yml 2019-03-27 10:59:38 -06:00
Andrey Tcherepanov 41ee4dd365 Moved moved unix-related parts into terminal 2019-03-27 10:56:55 -06:00
Andrey Tcherepanov 7de3dd8c8b Removed golang.org/x/crypto refs 2019-03-27 10:56:55 -06:00
Andrey Tcherepanov 10ff0d07c3 Got rid of IsTerminal call to reduce external dependencies 2019-03-27 10:56:55 -06:00
David Bariod 1115b87d62
Merge pull request #927 from ceh-forks/ci-go-1-12
Test with Go 1.12
2019-03-27 09:37:13 +01:00
Emil Hessman c076594430 Add Go 1.12 to Travis CI build matrix 2019-03-27 07:08:19 +01:00
Adam Renberg Tamm dae0fa8d5b
Merge pull request #920 from sirupsen/changelog-v140
Add CHANGELOG for v1.4.0
2019-03-11 17:20:41 +01:00
Adam Renberg Tamm 02141df9f0 Add CHANGELOG for v1.4.0 2019-03-11 16:27:44 +01:00