Struct LogTag

LogTag encapsulate a string tag and a bitmask. It a also have helpers to log entries with the given tag and mask.

struct LogTag ;

Fields

NameTypeDescription
mask uint
tag string

Methods

NameDescription
debug_ (msg) add a debug log entry with this tag
debugf (fmt, args) add a formatted debug log entry with this tag
error (msg) add a error log entry with this tag
errorf (fmt, args) add a formatted error log entry with this tag
info (msg) add a info log entry with this tag
infof (fmt, args) add a formatted info log entry with this tag
log (sev, msg) add a log entry with this tag
logf (sev, fmt, args) add a formatted log entry with this tag
trace (msg) add a trace log entry with this tag
tracef (fmt, args) add a formatted trace log entry with this tag
warning (msg) add a warning log entry with this tag
warningf (fmt, args) add a formatted warning log entry with this tag