Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorFormatter ¶
type ColorFormatter struct { }
ColorFormatter implements the "Formatter" interface nad generated colored console output
type Option ¶
type Option func(w *Writer)
Option is the console-writer option type
func WithFormatter ¶
WithFormatter configures the console writer to use the provided Formatter
func WithStream ¶
func WithStream(s io.WriteCloser) Option
WithStream configures the console writer to use the provided io.Writer
type TextFormatter ¶
type TextFormatter struct{}
Click to show internal directories.
Click to hide internal directories.