Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWriter ¶
Types ¶
type Config ¶
type Config struct {
Level string `json:"level,omitempty" yaml:"level,omitempty"`
Formatter string `json:"formatter,omitempty" yaml:"formatter,omitempty"`
Color bool `json:"color,omitempty" yaml:"color,omitempty"`
Writer WriterConfig `json:"writer,omitempty" yaml:"writer,omitempty"`
}
type StdErr ¶
type StdErr struct {
// contains filtered or unexported fields
}
func (*StdErr) Construct ¶
func (s *StdErr) Construct(_ WriterOptions) (err error)
type StdOut ¶
type StdOut struct {
// contains filtered or unexported fields
}
func (*StdOut) Construct ¶
func (s *StdOut) Construct(_ WriterOptions) (err error)
type WriterConfig ¶
type WriterConfig struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Options json.RawMessage `json:"options,omitempty" yaml:"options,omitempty"`
}
type WriterOptions ¶
type WriterOptions struct {
Config configures.Config
}
Click to show internal directories.
Click to hide internal directories.