Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 601 Bytes
package ln
import "fmt"
func withLevel(level, format string, args ...interface{}) Fer {
return F{"msg": fmt.Sprintf(format, args...), "level": level}
// Info adds an informational connotation to this log line. This is the
// "default" state for things that can be ignored.
func Info(format string, args ...interface{}) Fer {
return withLevel("info", format, args...)
// Debug adds a debugging connotation to this log line. This may be ignored
// or aggressively sampled in order to save ram.
func Debug(format string, args ...interface{}) Fer {
return withLevel("debug", format, args...)
You can’t perform that action at this time.