continue debugging the same request with new lines and spacing, easier to read.
(format string, args ...interface{})
| 143 | // continue debugging the same request with new lines and spacing, |
| 144 | // easier to read. |
| 145 | func (e *Engine) debugf(format string, args ...interface{}) { |
| 146 | if e.logger == nil || e.logger.Level < golog.DebugLevel { |
| 147 | return |
| 148 | } |
| 149 | |
| 150 | fmt.Fprintf(e.logger.Printer, skipDBUGSpace+format, args...) |
| 151 | } |
| 152 | |
| 153 | // Handler is an Iris Handler that can be used as a router or party or route middleware. |
| 154 | // For a global alternative, if you want to wrap the entire Iris Application |