Commit Graph

1102 Commits

Author SHA1 Message Date
Sébastien Lavoie 24566a3fc4
Merge pull request #924 from bunyk/master
Add hook to send logs to custom writer #678
2020-02-26 17:31:00 -05:00
Mark Phelps f5d95b63a6
Update stale.yml 2020-02-26 12:01:50 -05:00
Mark Phelps eef122e96e
Create stale.yml 2020-02-26 11:58:33 -05:00
Mark Phelps 2f069ddd45
Merge pull request #1072 from taywrobel/bugfix/dataBleedAcrossEntities
Fix entry data bleed when using WithContext and WithTime
2020-02-25 12:31:25 -05:00
Mark Phelps 63d9911443
Merge pull request #1082 from hlcfan/patch-1
Fix typo
2020-02-25 10:53:46 -05:00
Simon Eskildsen 4ecd9a62bd readme: maintenance-mode 2020-02-25 07:40:03 -05:00
Simon Eskildsen 947831125f
Merge pull request #1094 from devil418/fix-readme
Remove annoying punctuation in Readme for better screen reader accesssibility
2020-02-04 17:46:15 -05:00
Mikolaj Holysz 6895a36b17 Remove annoying punctuation in Readme for better screen reader accessibility.
One entry in the Logrus formatters list in the readme contained
a lot of extraneous punctuation.

When read with a screen reader, nothing but a bunch of question marks and weird symbol names could be heard,
making the line impossible to understand.
2020-01-28 19:39:15 +01:00
Alex Shi b70d15e202
Fix typo 2019-12-18 14:10:06 +08:00
Taylor Wrobel 8fbaf3dbd0 Make Entry WithContext and WithTime copy tests more clear
Clarifies the data used in the EntryWithContextCopiesData test and
adds an equivalent test to verify the behavior of WithTime.
2019-12-03 13:50:59 -08:00
Taylor Wrobel bcc146f96b Fix entity data bleed when using WithContext and WithTime
Creates a copy of the data map when using WithContext to create a
child entity.  Without this, the data map of the parent entitiy,
which is exposed in the entity struct, is shared between a parent
and all children instances.

This can create bugs of shared or overwritten data when a parent
entity is used to make children in differing contexts, and behaves
differently than `WithField` and its diritivites which does make
a copy of the data.

Additionally implements the same logic for WithTime, for API
consistency in behavior.
2019-11-27 20:20:42 -08:00
David Bariod 67a7fdcf74
Merge pull request #1054 from sirupsen/del_old_doc
remove obsolete documentation
2019-10-26 13:39:18 +02:00
David Bariod 9746113fa8 remove obsolete documentation 2019-10-26 08:50:02 +02:00
David Bariod f4ece9c82f
Merge pull request #1052 from sirupsen/activate_linter
run golangci-lint on travis
2019-10-25 17:13:36 +02:00
David Bariod 12176f2f72
Merge pull request #1053 from sirupsen/travis_rm_go111
remove go1.11.x from travis build matrix
2019-10-25 17:12:32 +02:00
David Bariod 9df6f6aa0b add x rights on travis/lint.sh 2019-10-25 14:57:57 +02:00
David Bariod 88d44306be remove go1.11.x from travis build matrix 2019-10-25 14:53:19 +02:00
David Bariod b77b626665 run golangci-lint on travis 2019-10-25 14:49:48 +02:00
Edward Muller d5d4df1108
Merge pull request #1040 from sirupsen/ffz/Travis
Clean up travis
2019-10-22 18:09:08 -07:00
Edward Muller b6a9e5632b
Merge pull request #1042 from sirupsen/ffz/ForceQuote
ForceQuote option to TextFormatter
2019-10-22 18:08:39 -07:00
Edward Muller 007cacdd34
Force Quote
Closed #1005
2019-10-14 22:53:51 -07:00
Edward Muller fb62dbe2f2
fix broken test 2019-10-14 13:23:44 -07:00
Edward Muller 843e0aaa75
Merge pull request #1016 from freeformz/ffz/returnEarly
return early
2019-10-14 11:32:52 -07:00
Edward Muller d12cdc065f
deadcode 2019-10-13 17:48:58 -07:00
Edward Muller 46015a925f
test the error to ensure there isn't an unexpected error in the test 2019-10-13 17:48:58 -07:00
Edward Muller f9951ccddd
Associate this example with what it's an example for 2019-10-13 17:43:54 -07:00
Edward Muller 68e6dbbcb7
Exclude go1.13.x from modules off, only build all on go1.13 modules on 2019-10-13 17:30:04 -07:00
Edward Muller 08cf62cb80
This should make gox a little nicer 2019-10-13 17:15:32 -07:00
Edward Muller ad9f41a0cd
pull all the install into a single location 2019-10-13 16:56:28 -07:00
Edward Muller 75440f2ebe
get some other deps 2019-10-13 16:51:57 -07:00
Edward Muller 8ec9a493ec
Enable all of these to see what fails 2019-10-13 16:47:33 -07:00
Edward Muller d30efdb30d
go mod verify; go mod tidy 2019-10-13 16:39:54 -07:00
Edward Muller 7b6c0d11ad
Disable modules, run on osx 2019-10-13 16:39:38 -07:00
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