GitHub - siddontang/go-log: a golang log lib supports level and multi handlers (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

siddontang / go-log Public

a golang log lib supports level and multi handlers

License

MIT license

36 stars 20 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory16 Commits
log log
loggers loggers
LICENSE LICENSE
README.md README.md

Repository files navigation

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

About

a golang log lib supports level and multi handlers

Resources

Readme

License

MIT license

Activity

Stars

36 stars

Watchers

4 watching

Forks

20 forks

Report repository

Releases

No releases published

Packages

No packages published

Contributors2

Languages