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

https://github.com/goinsane/xlog

provides leveled and structured logging
https://github.com/goinsane/xlog

golang golang-library golang-log golang-logger golang-logging golang-package log logger logging xlog

Last synced: 5 months ago
JSON representation

provides leveled and structured logging

Awesome Lists containing this project

README

          

# xlog

[![Go Reference](https://pkg.go.dev/badge/github.com/goinsane/xlog.svg)](https://pkg.go.dev/github.com/goinsane/xlog)

Package xlog provides leveled and structured logging.
Please see [godoc](https://pkg.go.dev/github.com/goinsane/xlog).

## Examples

To run any example, please use the command like the following:

cd examples/
go run example1.go

## Tests

To run all tests, please use the following command:

go test -v

To run all examples, please use the following command:

go test -v -run=^Example

To run all benchmarks, please use the following command:

go test -v -run=^Benchmark -bench=.