Пример #1
0
func newColoredConsoleWriter() *coloredLogger {
	return &coloredLogger{writer: goterminal.New()}
}
Пример #2
0
func newColoredConsole(out io.Writer) *coloredConsole {
	return &coloredConsole{writer: goterminal.New(out)}
}
Пример #3
0
func newSimpleConsoleWriter() *simpleLogger {
	return &simpleLogger{writer: goterminal.New()}
}