lnd/build/log_default.go
Elle Mouton cd697913ef
build: switch to slog Handlers
Start using the new slog handlers. With this commit we also remove the
need for the LogWriter since we let our LogRotator implement io.Writer
and pass that in to our log file handler.
2024-10-22 17:03:51 +02:00

9 lines
197 B
Go

//go:build !stdlog && !nolog
// +build !stdlog,!nolog
package build
// LoggingType is a log type that writes to both stdout and the log rotator, if
// present.
const LoggingType = LogTypeDefault