Interface ErrorLog


public interface ErrorLog
Represents a log entry for HTTP server errors. Implementations of this interface define how the error information is logged.
Since:
1.2.6
Author:
raccoonback, Violeta Georgieva
  • Method Summary

    Modifier and Type
    Method
    Description
    static ErrorLog
    create(String logFormat, Object... args)
    Creates a default ErrorLog with the given log format and arguments.
    void
    log()
    Logs the error information.
  • Method Details

    • create

      static ErrorLog create(String logFormat, Object... args)
      Creates a default ErrorLog with the given log format and arguments.
      Parameters:
      logFormat - the log format string
      args - the list of arguments
      Returns:
      a new DefaultErrorLog
      See Also:
    • log

      void log()
      Logs the error information.