log

command
Version: v0.0.0-...-f1d4689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 4 Imported by: 0

README

Log Example

$ go run log/main.go -adapter zap   
{"level":"debug","msg":"Debug"}
{"level":"debug","msg":"Debugf"}
{"level":"info","msg":"Info"}
{"level":"info","msg":"Infof"}
{"level":"warn","msg":"Warn"}
{"level":"warn","msg":"Warnf"}
{"level":"error","msg":"Error"}
{"level":"error","msg":"Errorf"}

$ go run log/main.go -adapter logrus 
INFO[0000] Info                                         
INFO[0000] Infof                                        
WARN[0000] Warn                                         
WARN[0000] Warnf                                        
ERRO[0000] Error                                        
ERRO[0000] Errorf   

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL