Searched defs:consoleWriter (Results 1 – 6 of 6) sorted by relevance
50 type consoleWriter struct { struct51 lg *logWriter52 Level int `json:"level"`53 Colorful bool `json:"color"` //this filed is useful only when system's terminal supports color68 func (c *consoleWriter) Init(jsonConfig string) error {76 func (c *consoleWriter) WriteMsg(when time.Time, msg string, level int) error {88 func (c *consoleWriter) Destroy() {93 func (c *consoleWriter) Flush() {
30 type consoleWriter struct { struct41 func (console *consoleWriter) Write(bytes []byte) (int, error) {45 func (console *consoleWriter) String() string {
7 consoleWriter ConsoleWriter var