Skip to content

localhots/riff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Riff

Riff is a logger.

import "github.com/localhots/riff"
import "github.com/localhots/riff/ctx/log"

log.Setup(riff.DefaultConfig())

log.Info(ctx, "Starting task",
	log.Str("device_unique_id", "G4000E-1000-F"),
	log.Int("task_id", 123456),
	log.Str("status", "success"),
	log.Str("template_name", "index.tpl"),
)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published