mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
cd697913ef
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.
9 lines
197 B
Go
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
|