mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
move dependencies to vendor
This commit is contained in:
18
vendor/github.com/docker/libcompose/logger/null.go
generated
vendored
Normal file
18
vendor/github.com/docker/libcompose/logger/null.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package logger
|
||||
|
||||
// NullLogger is a logger.Logger and logger.Factory implementation that does nothing.
|
||||
type NullLogger struct {
|
||||
}
|
||||
|
||||
// Out is a no-op function.
|
||||
func (n *NullLogger) Out(_ []byte) {
|
||||
}
|
||||
|
||||
// Err is a no-op function.
|
||||
func (n *NullLogger) Err(_ []byte) {
|
||||
}
|
||||
|
||||
// Create implements logger.Factory and returns a NullLogger.
|
||||
func (n *NullLogger) Create(_ string) Logger {
|
||||
return &NullLogger{}
|
||||
}
|
Reference in New Issue
Block a user