Documentation ¶ Index ¶ Constants Variables type Level type Log func NewLog(level Level, format string, a []interface{}) *Log func (l *Log) A() []interface{} func (l *Log) File() string func (l *Log) Format() string func (l *Log) Level() Level func (l *Log) Line() int func (l *Log) Time() time.Time Constants ¶ View Source const ( DEBUG = iota INFO WARN ERROR FATAL ) Variables ¶ View Source var LevelName [5]string Functions ¶ This section is empty. Types ¶ type Level ¶ type Level uint8 type Log ¶ type Log struct { // contains filtered or unexported fields } func NewLog ¶ func NewLog(level Level, format string, a []interface{}) *Log func (*Log) A ¶ func (l *Log) A() []interface{} func (*Log) File ¶ func (l *Log) File() string func (*Log) Format ¶ func (l *Log) Format() string func (*Log) Level ¶ func (l *Log) Level() Level func (*Log) Line ¶ func (l *Log) Line() int func (*Log) Time ¶ func (l *Log) Time() time.Time Source Files ¶ View all Source files data.go type.go Click to show internal directories. Click to hide internal directories.