Documentation ¶
Index ¶
Constants ¶
View Source
const BackgroundOffset = 31
View Source
const TimeFormat = "15:04:05"
Variables ¶
This section is empty.
Functions ¶
func FromTemplate ¶
Types ¶
type LineBreaker ¶
func NewLineBreaker ¶
func NewLineBreaker(out chan Message, ID string) *LineBreaker
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(debug bool, opts ...LoggerOption) *Logger
type LoggerOption ¶
type LoggerOption = func(*Logger)
func WithOut ¶
func WithOut(out io.Writer) LoggerOption
type StructuredLog ¶
func ParseToStructured ¶
func ParseToStructured(l string) StructuredLog
Click to show internal directories.
Click to hide internal directories.