lnd/build/log_nolog.go
2018-10-05 13:04:45 +09:00

12 lines
208 B
Go

// +build nolog
package build
// LoggingType is a log type that writes no logs.
const LoggingType = LogTypeNone
// Write is a noop.
func (w *LogWriter) Write(b []byte) (int, error) {
return len(b), nil
}