log icon indicating copy to clipboard operation
log copied to clipboard

Fastest structured logging

Results 18 log issues
Sort by recently updated
recently updated
newest added

I'm a new user of phuslu/log, I want to know if SyslogWriter supports RFC5424? Thanks. https://www.rfc-editor.org/rfc/rfc5424

documentation

Logging same multiple parameters in various places, we have to repeat the parameters in multiple places. It would be really helpful if the package supports some function that allows to...

question

Is it possible to instrument with OpenTelemetry?

enhancement

May I know if there are plans to support unstructured logging with async support?

针对Caller、callerfunc等输出项目,建议增加配置选项来控制是否输出这些项目。 比如Caller,可以配置是否默认全局输出,还是只有生成日志条目时,调用了Caller()的条目才输出。 我不知道日前这个库是否已支持上面说的?我没找到,只能通过自已写个Formatter来实现,如果能增加配置项目会更好。 另外v1.0.112版,有两个Warning,反馈一下: ![PixPin_2024-10-18_08-18-21](https://github.com/user-attachments/assets/fadd05d0-8e4e-4239-b864-5798577b2b09)

我的配置是`log.Logger{Caller: 0}`,但是调用写的是`log.Error().Caller()`,输出的样式大概如下: ``` ERR 25 test/logger.go:105 > error="test " ``` 请问 ERR 后面的 25 是什么?是否有参数可以去除?好像因为这个导致Goland里不能点击这里跳转到文件指定行了

question

Using this lib for quite some time. Containers are running in gcp cloud run. This lib writes to std.io which can be queried by gcp logging interface. I want to...

question

Version: v1.0.118 I am trying to achieve following setup: ```go log.DefaultLogger = log.Logger{ Level: log.ParseLevel(cliArgs.LogLevel), Caller: 1, TimeField: "time", TimeFormat: "", Writer: &log.MultiEntryWriter{ &log.ConsoleWriter { ColorOutput: true }, &log.MultiLevelWriter{ InfoWriter:...

bug
enhancement

I tried upgrading to the latest version `1.0.118`, but I encountered an issue where no `app.log` file is created during log initialization, and only `*.log.gz` files are generated. I downgraded...

bug

Hey, i was wondering if we could code a sampling interface, it would be nice to have an intermediate writter, so i can hash or count things in the log...