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 the LoggerHandler
Author:
Paulo Lopes, Thomas Cederholm
  • Method Summary

    Modifier and Type
    Method
    Description
    format(RoutingContext routingContext, long ms)
    Formats and returns the log statement
  • Method Details

    • format

      String format(RoutingContext routingContext, long ms)
      Formats and returns the log statement
      Parameters:
      routingContext - The routing context
      ms - The number of milliseconds since first receiving the request
      Returns:
      The formatted string to log