mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
12 lines
208 B
Go
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
|
|
}
|