Documentation ¶
Index ¶
Constants ¶
View Source
const ( TextFormat = "text" JsonFormat = "json" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { slog.HandlerOptions OutputPaths []string Format string ErrPaths []string ExtFields map[string]interface{} }
func DefaultConfig ¶
func DefaultConfig() *Config
type MultiHandler ¶
type MultiHandler struct {
// contains filtered or unexported fields
}
func NewMultiHandler ¶
func NewMultiHandler(config *Config) (*MultiHandler, error)
Click to show internal directories.
Click to hide internal directories.