Package io.vertx.ext.web.handler
Interface LoggerFormatter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LoggerFormatter
Implement to format the output of theLoggerHandler
- Author:
- Paulo Lopes, Thomas Cederholm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
format(RoutingContext routingContext, long ms)
Formats and returns the log statement
-
-
-
Method Detail
-
format
String format(RoutingContext routingContext, long ms)
Formats and returns the log statement- Parameters:
routingContext
- The routing contextms
- The number of milliseconds since first receiving the request- Returns:
- The formatted string to log
-
-