Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtoAPP = "APP" ProtoHTTP = "HTTP" ProtoWS = "WS" )
Variables ¶
View Source
var ( Freef = freeLevel.Printf Descf = descLevel.Printf Infof = infoLevel.Printf Warningf = warningLevel.Printf Errorf = errorLevel.Printf )
Functions ¶
func AddToBlacklist ¶
func LineSpacer ¶
func LineSpacer(lineCount int)
Types ¶
type LoggerLevel ¶
type LoggerLevel struct {
// contains filtered or unexported fields
}
func NewLoggerLevel ¶
func NewLoggerLevel(logLevelPrefix string, colorAttributes ...color.Attribute) *LoggerLevel
func (*LoggerLevel) Printf ¶
func (l *LoggerLevel) Printf(protocolPrefix string, format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.