Class LoggerFormatter


  • public class LoggerFormatter
    extends Object
    Implement to format the output of the LoggerHandler

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<LoggerFormatter> __TYPE_ARG
    • Constructor Detail

      • LoggerFormatter

        public LoggerFormatter​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • format

        public 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