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

https://github.com/arenadata/klog

Klog is a thin wrapper around go.uber.org/zap structured logger
https://github.com/arenadata/klog

Last synced: about 1 month ago
JSON representation

Klog is a thin wrapper around go.uber.org/zap structured logger

Awesome Lists containing this project

README

          

# Klog

KLog is a thin wrapper around go.uber.org/zap logger.
It provide structured json logger with two additional fields - source and date.

## Quick Start

```go
klog.InitLogger("New Source")
defer klog.Sync()
klog.Info("First message")
```