go-logging icon indicating copy to clipboard operation
go-logging copied to clipboard

Golang logging library

Results 61 go-logging issues
Sort by recently updated
recently updated
newest added

Making `Fmt` public as mentioned in #82. Thanks again!

Hello @op ! I really enjoy the library, it's been great using it! It'd be awesome to have access to the root `log` function that `Error`, `Warning`, etc call, in...

Hello guys! I'm just wondering if you're considering to make Logger _interface_ instead of **struct**. This can allow to switch between logger implementations. Even PHP-world decided to develop convenient [logger...

[In here](https://github.com/op/go-logging/blob/f2de3fa73ede49624df5ca7467011ac4fcd43635/logger.go#L27-L30), the to-be-redacted string is replaced by `*` of the same length, thus leaking the redacted string's length. Especially when redacting passwords from logs, this is not nice. How...

``` go package main import ( "os" "time" "github.com/op/go-logging" ) func main() { go func() { test("test1") }() test("test2") time.Sleep(time.Second) } func test(name string) { backend := logging.NewLogBackend(os.Stdout, "", 0)...

The default backend was printing the date and time before the message. This means that the default formatter was printing the date instead of just the message as documented, and...

`init() { Reset() }` [at the bottom of logger.go](https://github.com/op/go-logging/blob/master/logger.go#L216-L218) clobbers any previously-set custom logging levels. ``` go // Reset restores the internal state of the logging library. func Reset() {...

We've multiple loggers, but would be nice to set the level of all of them in one place (e.g. normally all are at Error, but can bump one down specifically...

Would be nice if the color verb supported other ansi colors (other than just the log color) e.g. ``` var LogFormat = "%{color:gray}%{time:15:04:05.999} %{color}%{level} %{color:gray}%{shortfile}: %{color:reset}%{message}" ``` You could wrap...

log4j and log4go both provide these extra levels below Debug. It adds nice granularity to debugging logs, as opposed to the single Debug all -or-nothing. I personally like it, and...