Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsole ¶
func NewConsole(config Config, file *os.File) zapcore.WriteSyncer
Types ¶
type Config ¶
type Config struct { Target `logos-config:"target" logos-validate:"required,logos.oneof=stderr stdout discard"` NoColor bool `logos-config:"no_color"` }
func DefaultConfig ¶
func DefaultConfig() Config
type Console ¶
type Console struct { zapcore.WriteSyncer // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.