An open API service indexing awesome lists of open source software.

https://github.com/karpeleslab/klbslog

golang slog handler for klb infrastructure
https://github.com/karpeleslab/klbslog

Last synced: 12 months ago
JSON representation

golang slog handler for klb infrastructure

Awesome Lists containing this project

README

          

# klbslog

generic slog handler for klb using rest & fleet

Usage:

```go
slog.SetDefault(slog.New(klbslog.New(nil, nil)))
```

Or with options and a parent:

```go
slog.SetDefault(slog.New(klbslog.New(&slog.HandlerOptions{AddSource: true, Level: slog.LevelDebug}, slog.NewTextHandler(os.Stderr, nil))))
```