Logger
Description:
Creates a new Logger with the given debug level.
If level is BODY, max_body_size gives the
maximum number of bytes of the body that will be logged. (-1 means "no limit".)
If you need finer control over what message parts are and aren't logged, use set_request_filter and set_response_filter.
Parameters:
| level |
the debug level |
| max_body_size |
the maximum body size to output, or -1 |
Returns:
|
a new Logger |