zerolog icon indicating copy to clipboard operation
zerolog copied to clipboard

Zero Allocation JSON Logger

Results 222 zerolog issues
Sort by recently updated
recently updated
newest added

I want to refactor the fileds, integrating other fields, except "time" "level" "message" from: `{"level":"info","bar":"baz","n":1,"time":"2022-08-08T14:24:08+08:00","message":"hello world"}` to: `{"level":"info","param":{"bar":"baz","n":1},"time":"2022-08-08T14:24:08+08:00","message":"hello world"}` What do I have to achieve?(not by "Dict")

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6. Release notes Sourced from actions/cache's releases. v3.0.6 What's Changed Add example for clojure lein project dependencies by @​shivamarora1 in PR actions/cache#835 Update toolkit's cache...

dependencies
github_actions

In order to add time key as a prefix

Multiple log files can be sorted with `sort` if "time" key comes first. For example: ``` $ cat node1.log nod2.log node3.log | sort {"time":"2022-08-06T08:02:01Z","level":"info","node":"node1","message":"foo"} {"time":"2022-08-06T08:02:12Z","level":"info","node":"node2","message":"bar"} {"time":"2022-08-06T08:03:03Z","level":"info","node":"node1","message":"bar"} {"time":"2022-08-06T08:03:10Z","level":"info","node":"node3","message":"bar"} ... ``` It...

Implemented a small utility tool to use when developing an application using zerolog as mentioned in #316. The only thing that is untested is `Windows` instructions specifically commands that redirect...

``` log.Info().Str("level", log_level).Msg("Logging") ``` What I expect: ``` 2019-07-28T02:43:45-07:00 INF Logging level=debug ``` What I'm getting: ``` 2019-07-28T02:43:55-07:00 DBG Logging ```

I found myself wanting to log the type of an object and was convinced there would be a method to do that already, but I didn't find one. Here's a...

Currently the `ConsoleWriter.FormatFieldValue` field is of `Formatter` type: `func(interface{}) string`. I'd love to be able to format a field value _based on what the key is as well_. My specific...

Hi, I'm trying to configure zerolog to output logs both to the console and a file, with different formats. I can easily do that with `ConsoleWriter` and `io.MultiWriter`. But I'm...

Hi, First of all, awesome library. This is more of question than anything else. Do we have any viewer, like [bunyan](https://github.com/trentm/node-bunyan) to read logs from file in color if they...