Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2019 Changes in this version + const DEBUG + const ERROR + const FATAL + const FDATE + const FMICROS + const FMILIS + const FNANOS + const FTIME + const INFO + const WARN + func AddWriter(writer LoggerWriter) + func Debug(format string, v ...interface{}) + func Error(format string, v ...interface{}) + func Fatal(format string, v ...interface{}) + func Info(format string, v ...interface{}) + func Log(level int, format string, v ...interface{}) + func SetFormat(format int) + func SetLevel(level int) + func SetLevelByName(lname string) + func Warn(format string, v ...interface{}) + type Console struct + func NewConsole(color bool) *Console + func (w *Console) Close() + func (w *Console) Sync() + func (w *Console) Write(event *Event) + type Event struct + type File struct + func NewFile(filename string) (*File, error) + func (f *File) Close() + func (f *File) Sync() + func (f *File) Write(event *Event) + type Logger struct + var Default *Logger + func Find(path string) *Logger + func New(name string, parent *Logger) *Logger + func (l *Logger) AddWriter(writer LoggerWriter) + func (l *Logger) Debug(format string, v ...interface{}) + func (l *Logger) EnableChild(name string, state bool) + func (l *Logger) Error(format string, v ...interface{}) + func (l *Logger) Fatal(format string, v ...interface{}) + func (l *Logger) Info(format string, v ...interface{}) + func (l *Logger) Log(level int, format string, v ...interface{}) + func (l *Logger) RemoveWriter(writer LoggerWriter) + func (l *Logger) SetFormat(format int) + func (l *Logger) SetLevel(level int) + func (l *Logger) SetLevelByName(lname string) error + func (l *Logger) Warn(format string, v ...interface{}) + type LoggerWriter interface + Close func() + Sync func() + Write func(*Event) + type Net struct + func NewNet(network string, address string) (*Net, error) + func (n *Net) Close() + func (n *Net) Sync() + func (n *Net) Write(event *Event)