public interface LoggerHandler extends Handler<RoutingContext>
Modifier and Type | Interface and Description |
---|---|
static class |
LoggerHandler.Format
The possible out of the box formats.
|
Modifier and Type | Field and Description |
---|---|
static LoggerHandler.Format |
DEFAULT_FORMAT |
Modifier and Type | Method and Description |
---|---|
static LoggerHandler |
create()
Create a handler with default format
|
static LoggerHandler |
create(boolean immediate,
LoggerHandler.Format format)
Create a handler with he specified format
|
static LoggerHandler |
create(LoggerHandler.Format format)
Create a handler with he specified format
|
static final LoggerHandler.Format DEFAULT_FORMAT
static LoggerHandler create()
static LoggerHandler create(LoggerHandler.Format format)
format
- the formatstatic LoggerHandler create(boolean immediate, LoggerHandler.Format format)
immediate
- true if logging should occur as soon as request arrivesformat
- the formatCopyright © 2015. All Rights Reserved.