@CompileStatic class LoggerHandler
A handler which logs request information to the Vert.x logger.
| Constructor and description |
|---|
LoggerHandler
(Object delegate) |
| Type | Name and description |
|---|---|
static LoggerHandler |
create()Create a handler with default format |
static LoggerHandler |
create(LoggerFormat format)Create a handler with he specified format |
static LoggerHandler |
create(boolean immediate, LoggerFormat format)Create a handler with he specified format |
Object |
getDelegate() |
void |
handle(RoutingContext arg0) |
Create a handler with default format
Create a handler with he specified format
format - the formatCreate a handler with he specified format
immediate - true if logging should occur as soon as request arrivesformat - the formatio.vertx:vertx-web:3.1.0