mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
Better documentation for the Application#Logger()
Former-commit-id: 7d70c7ffba9ae6a94b600b85b078714dd943a7da
This commit is contained in:
@@ -70,9 +70,8 @@ func New(t *testing.T, app *iris.Application, setters ...OptionSetter) *httpexpe
|
||||
setter.Set(conf)
|
||||
}
|
||||
|
||||
// disable logger by setting it to the "Panic" level, iris never uses this
|
||||
// so it will never print.
|
||||
app.Logger().Level = 0
|
||||
// disable the logger
|
||||
app.Logger().SetLevel("disable")
|
||||
app.Build()
|
||||
|
||||
testConfiguration := httpexpect.Config{
|
||||
|
||||
Reference in New Issue
Block a user