2021-08-23 10:35:48 +02:00
|
|
|
//go:build nolog
|
2018-09-20 12:17:15 +02:00
|
|
|
// +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
|
|
|
|
}
|