MCPcopy Create free account
hub / github.com/kataras/iris / IsDebug

Method IsDebug

context/context.go:6257–6259  ·  view source on GitHub ↗

IsDebug reports whether the application runs with debug log level. It is a shortcut of Application.IsDebug().

()

Source from the content-addressed store, hash-verified

6255// IsDebug reports whether the application runs with debug log level.
6256// It is a shortcut of Application.IsDebug().
6257func (ctx *Context) IsDebug() bool {
6258 return ctx.app.IsDebug()
6259}
6260
6261// SetErr is just a helper that sets an error value
6262// as a context value, it does nothing more.

Callers 2

ViewMethod · 0.95
handleContextErrorMethod · 0.95

Calls 1

IsDebugMethod · 0.65

Tested by

no test coverage detected