Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = log.New()
Log is the default log instance for all SIFT logs. Logs are disabled by default; use SetLevelStr to set log levels for all packages, or Log.SetHandler() to set a custom handler. (see: https://godoc.org/gopkg.in/inconshreveable/log15.v2)
Functions ¶
func FuncAndLineHandler ¶
FuncAndLineHandler creates a log handler that adds the calling function's name and line number as context.
func SetLevelStr ¶
func SetLevelStr(lvlstr string)
SetLevelStr sets the log level of the default logger, using the default log handler. Possible values include "off", "debug", "info", "warn", "error" and "crit"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.