mirror of
https://github.com/kataras/iris.git
synced 2025-02-10 11:06:19 +01:00
10 lines
366 B
Go
10 lines
366 B
Go
// Copyright 2017 Gerasimos Maropoulos, ΓΜ. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package logger
|
|
|
|
// NoOpLogger returns a new, non-operational logger of io.Writer,
|
|
// it does nothing any form of input.
|
|
var NoOpLogger = writerFunc(func([]byte) (int, error) { return -1, nil })
|