Interface Log.LoaderLogger

All Known Implementing Classes:
Log.JavaLoaderLogger
Enclosing class:
Log

public static interface Log.LoaderLogger
Defines an interface for logging in the EASy loader. We cannot rely on the EASy logger as this is not known. Further, we do not rely on other logger frameworks in order to avoid conflicts. They can be used by delegation.
Author:
Holger Eichelberger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    error(String error)
    Logs an error.
    void
    error(String error, Exception exception)
    Logs an error with exception.
    void
    info(String msg)
    Logs an information message.
    void
    warn(String warning)
    Logs a warning.
    void
    warn(String warning, Exception exception)
    Emits a warning and adds the message of the given exception.
  • Method Details

    • error

      void error(String error)
      Logs an error.
      Parameters:
      error - the error text
    • error

      void error(String error, Exception exception)
      Logs an error with exception.
      Parameters:
      error - the error text
      exception - the exception to be added
    • warn

      void warn(String warning)
      Logs a warning.
      Parameters:
      warning - the warning text
    • warn

      void warn(String warning, Exception exception)
      Emits a warning and adds the message of the given exception.
      Parameters:
      warning - the warning text
      exception - the exception to be added
    • info

      void info(String msg)
      Logs an information message.
      Parameters:
      msg - the message to be logged