Documentation ¶
Overview ¶
Package gologging provides a logger implementation based on the github.com/op/go-log pkg
Index ¶
Constants ¶
View Source
const Namespace = "github.com/starvn/sonic/telemetry/gologging"
Variables ¶
View Source
var ( ErrWrongConfig = fmt.Errorf("getting the extra config for the sonic/telemetry/gologging package") LogstashPattern = `` /* 138-byte string literal not displayed */ DefaultPattern = ` %{time:2006/01/02 - 15:04:05.000} %{color}▶ %{level}%{color:reset} %{message}` ActivePattern = DefaultPattern )
Functions ¶
func ConfigGetter ¶
func ConfigGetter(e config.ExtraConfig) interface{}
func SetFormatterSelector ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.