Documentation
¶
Overview ¶
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: GPL-3.0-or-later
logger.go +build !debug
Index ¶
- Constants
- Variables
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Flogf(out *os.File, typ string, format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func Isatty(f *os.File) bool
- func Logf(format string, args ...interface{})
- func MiniFlogf(out *os.File, format string, args ...interface{})
- func Must(level int) bool
- func Verbosef(format string, args ...interface{})
- func Warnf(format string, args ...interface{})
- type Color
Constants ¶
View Source
const ( COLOR_EMPTY int = iota COLOR_BLACK COLOR_RED COLOR_GREEN COLOR_YELLOW COLOR_BLUE COLOR_PURPLE COLOR_CYAN COLOR_WHITE )
View Source
const ( Verbose int = iota Info Warning Error None // no log at all )
Variables ¶
View Source
var COLOR_RESET string = "\033[0m"
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.