Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEBUG = iota INFO NEVERShow WARNING ERROR FATAL )
Variables ¶
View Source
var (
LEVEL_FLAGS = [...]string{"DEBUG", "INFO", "INFO", "WARN", "ERROR", "FATAL"}
)
Functions ¶
This section is empty.
Types ¶
type ConsoleWriter ¶
type ConsoleWriter struct {
// contains filtered or unexported fields
}
func NewConsoleWriter ¶
func NewConsoleWriter() *ConsoleWriter
func (*ConsoleWriter) Init ¶
func (w *ConsoleWriter) Init() error
func (*ConsoleWriter) SetColor ¶
func (w *ConsoleWriter) SetColor(c bool)
type DBWriter ¶
type DBWriter struct {
// contains filtered or unexported fields
}
func NewDBWriter ¶
func NewDBWriter() *DBWriter
Click to show internal directories.
Click to hide internal directories.