1
0
mirror of https://github.com/rs/zerolog synced 2026-06-08 17:13:30 +00:00

Commit Graph

  • 3c6f92457f Bump github.com/mattn/go-colorable from 0.1.14 to 0.1.15 dependabot/go_modules/github.com/mattn/go-colorable-0.1.15 dependabot[bot] 2026-06-01 21:16:07 +00:00
  • 116c8060e0 event: restore Err() logging when ErrorStackMarshaler returns nil (#763) master v1.35.1 Ali Asghar 2026-04-21 04:17:57 +05:00
  • 13966551e7 Bump CI Go matrix minimum from 1.21 to 1.23 v1.35.0 Olivier Poitrey 2026-03-27 20:13:06 +01:00
  • 4b65a2f6f6 Bump actions/cache from 4 to 5 (#741) dependabot[bot] 2026-03-27 18:51:13 +00:00
  • b83579670f Bump actions/setup-go from 5 to 6 (#742) dependabot[bot] 2026-03-27 18:50:38 +00:00
  • 134caf82aa Added sanitization of journald keys (#751) Marc Brooks 2026-03-27 13:50:13 -05:00
  • e133b6a517 Added variadic StrsV, ObjectsV, and StringersV (#752) Marc Brooks 2026-03-27 13:49:07 -05:00
  • 82017d8fff Bump github.com/coreos/go-systemd/v22 from 22.6.0 to 22.7.0 (#753) dependabot[bot] 2026-03-27 18:48:46 +00:00
  • 2f5b8a91be fix: UpdateContext skips Nop and zero-value loggers (#754) Varun Chawla 2026-03-17 05:52:29 -07:00
  • d64c9a7138 Add slog.Handler implementation for zerolog (#755) Varun Chawla 2026-03-16 17:43:02 -07:00
  • a0d61dc2c7 fix: return dict to Event pool (#749) Marc Brooks 2026-01-12 16:51:46 -06:00
  • f6fbd330be Test coverage improvements (#748) Marc Brooks 2026-01-12 09:03:52 -06:00
  • 2094837a2c Ensure that Event and Array objects returned to pool are cleared (#747) Marc Brooks 2026-01-11 09:57:13 -06:00
  • 0cf9361666 Fix missing context.Context in Object/EmbedObject (#737) Marc Brooks 2026-01-05 12:19:15 -06:00
  • 0d69d7537a Bump github.com/coreos/go-systemd/v22 from 22.5.0 to 22.6.0 (#743) dependabot[bot] 2026-01-05 18:17:14 +00:00
  • 3d20da0255 Bump actions/checkout from 4 to 6 (#744) dependabot[bot] 2026-01-05 18:17:01 +00:00
  • 4685edb80b feat: add new global DurationFieldFormat (#733) Sebastian Rühl 2026-01-05 19:16:40 +01:00
  • 05348ba6f6 docs: add logze to related projects (#724) Maksim Bolgarin 2025-12-23 18:31:39 +03:00
  • a728d746c0 Bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 (#703) dependabot[bot] 2025-12-23 15:08:25 +00:00
  • a64148507a Adds Objects field type to logger fields, events, and context (#736) Marc Brooks 2025-12-18 12:50:34 -06:00
  • 42f33fff03 Add Type() to the Array (#738) Marc Brooks 2025-12-17 18:06:38 -06:00
  • 8148645974 Chore improve test coverage (#735) Marc Brooks 2025-12-15 13:55:37 -06:00
  • 5391dd7c34 Add array handling of IPAddr and IPPrefix (#734) Marc Brooks 2025-12-06 06:12:45 -06:00
  • 9dacc014f3 chore: fix some comments (#718) wangcundashang 2025-04-18 12:14:43 +01:00
  • a21d6107dc Remvoe ExampleBinaryNew referring to nothing Olivier Poitrey 2025-03-24 16:31:31 +01:00
  • db9d1bebd9 Update go versions covered by CI v1.34.0 Olivier Poitrey 2025-03-21 01:06:46 +01:00
  • 5f4b880a01 Delete _config.yml Olivier Poitrey 2025-03-21 01:03:04 +01:00
  • ffb27080ca Remove CNAME file Olivier Poitrey 2025-03-20 17:01:12 -07:00
  • cc4dde7383 Create CONTRIBUTING.md Olivier Poitrey 2025-03-21 00:58:35 +01:00
  • 04ea0f4371 Implement Close() for zerolog.FilteredLevelWriter (#715) Andrey36652 2025-03-12 15:16:56 +03:00
  • 039860087c fix: reset condition in burst sampler (#711) (#712) crazy-pe 2025-02-26 16:21:09 +01:00
  • 1869fa55be FormatPartValueByName for flexible custom formatting for ConsoleWriter (#541) sted 2025-01-04 00:53:36 +01:00
  • 31e7995c5b remove unnecessary nil checks (#701) Abdullah Alaadine 2024-12-27 04:41:46 +02:00
  • 582f820cf0 Get BasicSampler(0), RandomSampler(0), and BurstSampler(0) to behave the same and not write anything (#696) Oleg Schwann 2024-11-14 17:50:12 +02:00
  • 6abadab488 Bump github.com/rs/xid from 1.5.0 to 1.6.0 (#684) dependabot[bot] 2024-08-26 13:12:21 +02:00
  • c78e50e2da Add fields order (#550) v1.33.0 Marc M. Adkins 2024-05-04 06:43:27 -07:00
  • 8582bed24f fix: use TimestampFunc in busrt sampler (#671) (#672) crazy-pe 2024-05-01 04:19:37 +02:00
  • 7d9db06a53 Allow setting floating point precision in JSON. (#663) Mitar 2024-04-28 08:02:53 -07:00
  • e5aa7e3627 Revert #662 Olivier Poitrey 2024-04-24 02:19:07 +02:00
  • 0efa414907 Fix panic caused by an extra malformed level field (#665) Andrey Karpov 2024-04-24 02:13:48 +02:00
  • eb081e1fa2 chore: fix some typos in comments (#667) camcui 2024-04-12 17:07:29 +08:00
  • 2d899f0cf9 set debug log color (#662) Ruben Poppe 2024-04-05 16:58:55 +02:00
  • 74cf37a396 Add EmptyFields method to remove all the fileds from logger (#575) Pavel Griaznov 2024-03-06 07:57:20 +01:00
  • e5edd4b8ec Refactor: make code in comment valid and runable (#654) Konstantin Pechenenko 2024-03-03 06:52:46 +07:00
  • 582007f21d Add a time.Location to ConsoleWriter. (This allows UTC timestamps.) (#531) Felipe Gasper 2024-03-01 19:52:31 -05:00
  • 54ebf468e5 doc: update readme to use os-specific path separator (#534) Youming Lin 2024-03-01 18:50:13 -06:00
  • bda298df4a Fix JSON encoding of float exponents to be like json.Marshal / ES6 (#537) Joseph Cumines 2024-03-02 10:49:38 +10:00
  • 0d16f63a8a Disable HTML escaping in InterfaceMarshalFunc. (#568) Mitar 2024-03-01 16:33:56 -08:00
  • dfd022fdfd Update README.md (#593) 赵士杰 2024-03-02 08:30:48 +08:00
  • 159cb37bb9 Fix context retrieval in hook example (#603) Anuraag (Rag) Agrawal 2024-03-02 09:30:20 +09:00
  • bd2896587d Bump actions/setup-go from 4 to 5 (#625) dependabot[bot] 2024-02-04 15:50:57 +01:00
  • af58707cd9 Bump actions/cache from 3 to 4 (#638) dependabot[bot] 2024-02-04 15:49:00 +01:00
  • 9e60b1cb8e Add prettylog time format (#645) Sergey 2024-02-04 17:48:38 +03:00
  • 147ae65350 Fix prettylog piping (#644) v1.32.0 Sergey 2024-02-01 03:56:59 +03:00
  • 4d78dc5ffa Add forwarding close methods to several writer implementations (#636) Garret Buell 2024-01-13 10:08:26 -08:00
  • c1ab4ed9bf Make Log.Fatal() call Close on the writer before os.Exit(1) (#634) Garret Buell 2024-01-13 01:25:59 -08:00
  • 417580d1ce add: ContextLogger Interface LogObjectMarshaler (#623) Hyuga 2024-01-04 22:45:09 +09:00
  • 602e90aeea Fixed failing tests (#626) Naveen 2024-01-04 19:11:14 +05:30
  • a9ec232b3e Add stacktrace to Context (#630) Vitalii Solodilov 2024-01-03 07:40:23 +03:00
  • 3e8ae07aba Refactor: change Hook(h Hook) to Hook(hooks ...Hook) (#629) Halimao 2023-12-24 21:05:00 +08:00
  • 7fa45a4dda fixed documentation for tracing hook (#621) Naveen 2023-11-29 08:54:25 +05:30
  • 93fb5cb215 Add TriggerLevelWriter. (#602) Mitar 2023-11-27 19:20:40 -08:00
  • 83e03c75d9 stop using deprecated io/ioutils package (#620) (#620) Sami Kerola 2023-11-24 21:16:01 +00:00
  • bb14b8b9de Add additional hlog logging handlers (#607) Mitar 2023-11-08 12:04:17 -08:00
  • e7034c2572 chore: use buf.String() instead of string(buf.Bytes()) (#608) guangwu 2023-10-24 10:08:36 +08:00
  • c4046fe2cb Zero Logger behaves like Nop logger. (#606) Mitar 2023-10-20 19:20:52 -07:00
  • 507a426bf8 Use map for formatted levels. (#599) Mitar 2023-10-20 07:17:01 -07:00
  • 8834256667 Add Println top level method (#533) Gabriel Estavaringo Ferreira 2023-10-20 11:15:13 -03:00
  • 2c1cbecf52 hlog: add HostHandler (#604) Michikawa Masayoshi 2023-10-20 18:59:49 +09:00
  • 6ed7439d9c Do not colorize if not necessary. (#598) Mitar 2023-10-14 03:38:38 -07:00
  • f115bfade5 Make console output more readable. (#597) Mitar 2023-10-13 14:38:04 -07:00
  • f70fcca1ab Update example image to how it is currently rendered. (#596) Mitar 2023-10-13 04:55:44 -07:00
  • 6e8841b038 prettylog: add support for file input Olivier Poitrey 2023-10-13 13:54:09 +02:00
  • 11f895c15e Add FormatPrepare to ConsoleWriter. (#595) Mitar 2023-10-13 01:32:42 -07:00
  • ed609e7fe6 feat: display error stack when using .Fields() (#560) Julien Robert 2023-10-04 17:54:14 +02:00
  • 9e34cb475c Add Type function to context (#592) Clint Armstrong 2023-10-03 18:33:11 -04:00
  • 8344fc0c93 Bump actions/checkout from 3 to 4 (#588) v1.31.0 dependabot[bot] 2023-09-25 11:28:20 +02:00
  • 4cb8cc5622 Update dependencies Olivier Poitrey 2023-09-25 11:27:19 +02:00
  • ae9b265137 Update Build Status Badge (#589) Subhrodip Mohanta 2023-09-22 16:16:02 +02:00
  • 1bac5cca50 added support for NO_COLOR (#586) Lasse Gaardsholt 2023-09-05 11:18:05 +02:00
  • b81cc57e5d Fix the standard logger output example (#584) Mitar 2023-08-20 06:04:54 -07:00
  • ad77222f68 chore: improve coverage report Olivier Poitrey 2023-08-18 20:03:26 +02:00
  • 95cf29c88c chore: switch to go-goverage-report action as gocover.io is closing Olivier Poitrey 2023-08-18 19:50:46 +02:00
  • 802c88f065 chore: adding any function to context (#580) Manjunatha Shetty H 2023-08-18 23:11:23 +05:30
  • 158e4ad5c3 Update logbench URL in README.md Olivier Poitrey 2023-08-14 23:42:26 +02:00
  • 7d5aa987d0 Deprecate lint in favor of https://github.com/ykadowak/zerologlint (#574) Mitar 2023-08-02 01:27:39 -07:00
  • 70ac648f5c FilteredLevelWriter writes only logs at Level or above (#573) Mitar 2023-08-02 01:24:51 -07:00
  • 9c29f785f9 Make LevelWriterAdapter public (#572) Mitar 2023-08-02 00:58:42 -07:00
  • 06ec071bc1 Clarify the godoc warning for Logger.UpdateContext (#566) v1.30.0 Scott Davis 2023-07-29 07:32:05 -07:00
  • 873cbf13ee Allow callers to pass go context through to hooks (#559) Dan Price 2023-07-25 06:47:18 -07:00
  • 61485f3857 Fix #564 (#565) finkandreas 2023-07-12 14:29:38 +02:00
  • 9070d49a1a Add event method RawCBOR analogous to RawJSON (#556) stergiotis 2023-06-19 01:30:44 +02:00
  • b662f088b9 docs: context.Timestamp uses zerolog.TimeFieldFormat (#554) Harish Kukreja 2023-06-11 11:20:21 -04:00
  • 4612e098d2 Fix error chain from pkgerrors (#552) Basten Gao 2023-05-15 20:07:32 +08:00
  • 8981d80ed3 Correct logger variable name in stdout example (#549) Angus 2023-05-11 13:00:42 +01:00
  • 927516bcf1 doc(readme): fix a typo (#548) Koung 2023-05-01 19:04:49 +07:00
  • a712f61936 doc(readme): explain zerolog with context (#544) Kirill 2023-04-21 13:55:19 +04:00
  • 64a5863c5e Bump github.com/rs/xid from 1.4.0 to 1.5.0 (#542) dependabot[bot] 2023-04-17 11:56:52 +02:00
  • 1f50797d7d Bump actions/setup-go from 3 to 4 (#529) v1.29.1 dependabot[bot] 2023-03-20 12:29:36 -07:00
  • 902d72012d fix level parser (#523) Menno van Rahden 2023-03-10 16:15:23 +01:00