a
3a569c99c0
merge
2023-07-17 11:43:17 -05:00
finkandreas
61485f3857
Fix #564 ( #565 )
...
This could be a potential fix for #564
2023-07-12 14:29:38 +02:00
stergiotis
9070d49a1a
Add event method RawCBOR analogous to RawJSON ( #556 )
...
CBOR is encoded as data-url in JSON encoding and tagged in CBOR encoding.
2023-06-19 01:30:44 +02:00
Harish Kukreja
b662f088b9
docs: context.Timestamp uses zerolog.TimeFieldFormat ( #554 )
2023-06-11 17:20:21 +02:00
Basten Gao
4612e098d2
Fix error chain from pkgerrors ( #552 )
2023-05-15 14:07:32 +02:00
Angus
8981d80ed3
Correct logger variable name in stdout example ( #549 )
2023-05-11 14:00:42 +02:00
Koung
927516bcf1
doc(readme): fix a typo ( #548 )
...
Co-authored-by: jirasak <jirasak@lmwn.com>
2023-05-01 14:04:49 +02:00
Kirill
a712f61936
doc(readme): explain zerolog with context ( #544 )
...
Add section about `context.Context` usage with zerolog instance
2023-04-21 11:55:19 +02:00
dependabot[bot]
64a5863c5e
Bump github.com/rs/xid from 1.4.0 to 1.5.0 ( #542 )
...
Bumps [github.com/rs/xid](https://github.com/rs/xid ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/rs/xid/releases )
- [Commits](https://github.com/rs/xid/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/xid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 11:56:52 +02:00
dependabot[bot]
1f50797d7d
Bump actions/setup-go from 3 to 4 ( #529 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 12:29:36 -07:00
a
97e8f3922b
merge
2023-03-19 06:53:15 -05:00
Menno van Rahden
902d72012d
fix level parser ( #523 )
2023-03-10 07:15:23 -08:00
dependabot[bot]
4fff5db29c
Bump github.com/coreos/go-systemd/v22 ( #526 )
...
Bumps [github.com/coreos/go-systemd/v22](https://github.com/coreos/go-systemd ) from 22.3.3-0.20220203105225-a9a7ef127534 to 22.5.0.
- [Release notes](https://github.com/coreos/go-systemd/releases )
- [Commits](https://github.com/coreos/go-systemd/commits/v22.5.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-systemd/v22
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 13:02:23 +01:00
Adam Chalkley
762546b5c6
Replace duplicate 'append' text in doc comments ( #520 )
...
Replace 'append append' with 'appends'.
This resolves what appears to be an unintentional
search/replace action that occurred as part of other
cleanup work.
Co-authored-by: Adam Chalkley <atc0005@users.noreply.github.com>
2023-01-28 00:04:14 +01:00
Olivier Poitrey
fa9bf3742a
Fix missing cbor encoder AppendType method
2023-01-25 17:34:40 +01:00
Sylvain Rabot
db22191211
Use recent go versions in test workflow ( #519 )
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2023-01-25 17:05:09 +01:00
dils2k
164f7aa1a6
Add Any field function ( #515 )
2023-01-19 12:10:08 +01:00
a
a61f91287f
nwe default logger
2022-12-28 04:18:00 -06:00
a
660e96877b
fix
2022-12-28 03:41:00 -06:00
a
f380226321
update?
2022-12-28 03:33:41 -06:00
a
1a96beea25
merge?
2022-12-28 03:30:30 -06:00
Pavel Gryaznov
3543e9d94b
parsing CAPS log levels ( #506 )
2022-11-11 14:15:40 +01:00
a
99eea905a5
Rename
2022-11-03 10:18:09 -05:00
Ted Lilley
5bdc93f7eb
Fix console formatter for timestampunixnano ( #502 )
...
Co-authored-by: Ted Lilley <ted.lilley@digi.com>
2022-11-03 01:35:19 +01:00
a
64792032f4
new
2022-10-31 14:36:07 -05:00
Tim Peoples
e3027a5732
Fix docs and behavior of WithContext ( #499 )
2022-10-22 19:29:38 +02:00
Patrick Scheid
a9a8199d2d
ConsoleWriter fallbacks to local timezone for missing TZ indicator ( #497 )
...
Closes issue #483
Before:
We use time.Parse which defaults to TZ UTC if there is no time zone
indicator specified in the time layout string. During the reparsing in
ConsoleWriter we therefore added the TZ difference to UTC twice.
After:
We use time.ParseInLocal where we need to provide a dedicated fallback
TZ as a fallback. Since we now fallback to the local TZ, we don't add
the TZ difference to UTC twice.
2022-10-21 23:32:46 +02:00
Mario Cormier
89617ff99b
Adding Event.Type(...) method to log the type of an object ( #437 )
...
Co-authored-by: Mario Cormier <mcormier@rossvideo.com>
2022-10-18 02:51:54 +02:00
a
1600f7342f
add feature
2022-10-12 18:37:23 -05:00
Yuki Furuyama
55aaf043cf
Show original level message if it's not predefined value. ( #476 )
2022-09-18 16:53:56 +02:00
a
3ec1a83686
chjange default time format
2022-09-17 11:56:02 -05:00
a
88926fbb91
update packages
2022-09-17 11:54:42 -05:00
Donald Nguyen
315967f32d
Avoid race in diode.Close with waiter ( #481 )
2022-09-15 10:15:42 +02:00
Michael Nikitochkin
e218d18951
Update example of usage CallerMarshalFunc ( #475 )
...
There was changes in https://github.com/rs/zerolog/pull/457 pass program counter to CallerMarshalFunc.
Update example in README.md
2022-09-09 23:18:08 +02:00
Uros Marolt
c2b9d0e2de
CLI utility to pipe JSON logs through to pretty print and colorize them ( #449 )
2022-09-03 04:06:22 -07:00
Martin Rauscher
d894f123bc
pass program counter to CallerMarshalFunc ( #457 )
2022-07-29 15:29:02 +01:00
Mitar
4099072c03
Support extra arbitrary data at the end of console log ( #416 )
2022-07-18 23:00:50 +01:00
lazarenkovegor
4c85986254
Unixnano time format support ( #454 )
...
Co-authored-by: Лазаренков Егор Алексеевич <ealazarenkov@sberbank.ru>
2022-07-18 17:25:16 +01:00
dependabot[bot]
43be301386
Bump actions/cache from 3.0.1 to 3.0.5 ( #453 )
2022-07-18 10:41:56 +01:00
Olivier Poitrey
afdf9978ec
Revert "remove fields written into "PartsOrder" ( #383 )"
...
This reverts commit 2a13872817
.
2022-07-16 21:17:58 +01:00
xsteadfastx
14d6629e41
hlog: adds ProtoHandler ( #396 )
2022-07-16 21:04:30 +01:00
Mitar
dbdec88d16
Use everywhere InterfaceMarshalFunc ( #414 )
2022-07-16 21:03:29 +01:00
Mitar
b30730fab2
Show local time in console ( #415 )
2022-07-16 21:02:45 +01:00
dependabot[bot]
68a6bd49b5
Bump github.com/rs/xid from 1.3.0 to 1.4.0 ( #430 )
...
Bumps [github.com/rs/xid](https://github.com/rs/xid ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rs/xid/releases )
- [Commits](https://github.com/rs/xid/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/rs/xid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 20:59:27 +01:00
dependabot[bot]
5c08a2724f
Bump actions/cache from 2 to 3.0.1 ( #432 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 20:58:58 +01:00
Aniruddha Maru
60f57432ed
Implement encoding.TextUnmarshaler and encoding.TextMarshaler for Level ( #440 )
2022-07-16 20:51:01 +01:00
Adam Horacek
2a13872817
remove fields written into "PartsOrder" ( #383 )
2022-06-29 01:36:09 +02:00
Robson Roberto Souza Peixoto
a4ec5e4cdd
typo: using https to access cbor.io ( #439 )
2022-05-05 19:17:37 +02:00
a
3dd6446281
change format
2022-03-21 23:17:16 +00:00
elee
cc50acd599
updat redme
2022-03-20 14:31:02 -05:00