Categorygithub.com/siddontang/go-log
repository
0.0.0-20190221022429-1e957dd83bed
Repository: https://github.com/siddontang/go-log.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

go-log

a golang log lib supports level and multi handlers

Use

import "github.com/siddontang/go-log/log"

//log with different level
log.Info("hello world")
log.Error("hello world")

//create a logger with specified handler
h := NewStreamHandler(os.Stdout)
l := log.NewDefault(h)
l.Info("hello world")

go-doc

GoDoc