Skip to content
/ flog Public
forked from coder/flog

Pretty formatted log for Go

License

Notifications You must be signed in to change notification settings

dom3k/flog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flog

flog is a minimal, formatted, pretty logging package for Go.

It's optimized for human readability.

Uber's Zap is recommended for more robust logging.

GoDoc

Install

go get go.coder.com/flog

Usage

flog.Info("hello %.3f", 1/3.0)
flog.Success("finished that")
flog.Error("oops")

log := flog.NewLogger().WithPrefix("user %v: ", 500)

log.Error("didn't work out")

produces

example

About

Pretty formatted log for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%