1
0
Fork 0
mirror of https://github.com/lightningnetwork/lnd.git synced 2025-03-15 03:51:23 +01:00
lnd/build/log_nolog.go
2018-10-05 13:04:45 +09:00

11 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
}