Mark Phelps
4ddc9cf62e
Merge pull request #1116 from admacleod/master
...
Resolve race condition with SetReportCaller() and Entry
2020-03-22 09:24:01 -04:00
Alisdair MacLeod
e3e40605a2
remove errant whitespace
2020-03-19 10:02:20 +00:00
Alisdair MacLeod
ba670baee1
fix deadlock in previous entry race condition fix
2020-03-19 10:01:29 +00:00
Alisdair MacLeod
b28acda22d
fix race condition in entry
2020-03-19 09:32:08 +00:00
Alisdair MacLeod
e76a5c4450
create test to prove issue sirupsen/logrus#954
2020-03-19 09:29:19 +00:00
David Raleigh
0fb945b034
resolved conflicts
2020-03-13 13:22:47 -04:00
Deep Datta
0882384258
Title updates
...
Removed the non-breaking spaces in the ReadMe
2020-03-11 17:26:45 -07:00
Fabrizio Cirelli
fa25593b15
Removed useless files
2020-03-09 14:45:58 +01:00
Fabrizio Cirelli
af6ac8cee6
Fix wrong caller
2020-03-09 12:39:00 +01:00
David Bariod
7ea96a3284
Merge pull request #1102 from hlcfan/get-right-logrus-pkg-name
...
Fix caller package name
2020-03-06 11:24:46 +01:00
Mark Phelps
53000c4c0f
Merge pull request #921 from sosiska/patch-1
...
Rewrite if-else-if-else to switch statements
2020-03-04 09:42:50 -05:00
Mark Phelps
334dd7729c
Merge pull request #1060 from sirupsen/improve_withfield_doc
...
improve Logger.WithField documentation
2020-03-04 09:32:56 -05:00
Mark Phelps
1e936e2d75
Merge pull request #1091 from nolleh/master
...
add caption-json-formatter
2020-03-04 09:14:34 -05:00
David Bariod
ab4d0e6ead
run CI for go 1.13 and 1.14
2020-03-03 09:10:14 +01:00
Alex S
86a84a9d18
Get right logrus package name
2020-03-02 21:47:38 +08:00
Mark Phelps
77ab282a06
Merge pull request #1047 from lwsanty/fix-race-conditions-on-entry
...
fix race conditions on entry
2020-02-26 18:44:58 -05:00
Mark Phelps
7fab003954
Merge pull request #633 from bogem/patch-1
...
Fix typos in docs for New()
2020-02-26 18:21:58 -05:00
Mark Phelps
494ec951d1
Only mark issues as stale for now until we go through backlog of PRs
...
Only mark issues as stale for now until we go through backlog of PRs
2020-02-26 18:18:33 -05:00
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
nolleh
779e0e214d
add caption-json-formatter
2020-01-21 00:42:07 +09:00
Alex Shi
b70d15e202
Fix typo
2019-12-18 14:10:06 +08:00
Dmitri Goutnik
28e212178a
Add support for freebsd/arm64
2019-12-09 07:44:42 -05: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
4fd274e0b8
improve Logger.WithField documentation
2019-10-28 19:22:23 +01: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
lwsanty
c7278b2d7a
fix race conditions on entry
...
closes #1046
2019-10-23 20:55:57 +03: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