Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelMapper ¶
type Option ¶
type Option func(*Options)
func WithLevelMapper ¶
func WithLevelMapper(mapper LevelMapper) Option
func WithPrefix ¶
func WithShowStd ¶
func WithTrimNewline ¶
type Options ¶
type Options struct {
Prefix string
Flags int
ShowStd bool
TrimNewline bool
LevelMapper LevelMapper
}
func DefaultOptions ¶
func DefaultOptions() Options
func NormalizeOptions ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) SetShowStd ¶
func (*Writer) SetTrimNewline ¶
Click to show internal directories.
Click to hide internal directories.