Interface ILogger

All Known Implementing Classes:
AbstractJavaLogger, AdvancedJavaLogger, FileLogger, JavaLogger

public interface ILogger
Interface for concrete Loggers, which can be handled by the EASyLoggerFactory.
Author:
Sass
  • Method Details

    • info

      void info(String msg, Class<?> clazz, String bundleName)
      Log an INFO message. If the logger is currently enabled for the INFO message level then the given message is forwarded to all the registered output Handler objects.
      Parameters:
      msg - The string message (or a key in the message catalog)
      clazz - The class where the message was created
      bundleName - Name of the bundle where the message was created
    • error

      void error(String msg, Class<?> clazz, String bundleName)
      Log an ERROR message. If the logger is currently enabled for the ERROR message level then the given message is forwarded to all the registered output Handler objects.
      Parameters:
      msg - The string message (or a key in the message catalog)
      clazz - The class where the message was created
      bundleName - Name of the bundle where the message was created
    • warn

      void warn(String msg, Class<?> clazz, String bundleName)
      Log a WARN message. If the logger is currently enabled for the WARN message level then the given message is forwarded to all the registered output Handler objects.
      Parameters:
      msg - The string message (or a key in the message catalog)
      clazz - The class where the message was created
      bundleName - Name of the bundle where the message was created
    • debug

      void debug(String msg, Class<?> clazz, String bundleName)
      Log a DEBUG message. If the logger is currently enabled for the DEBUG message level then the given message is forwarded to all the registered output Handler objects.
      Parameters:
      msg - The string message (or a key in the message catalog)
      clazz - The class where the message was created
      bundleName - Name of the bundle where the message was created
    • exception

      void exception(String msg, Class<?> clazz, String bundleName)
      Log an EXCEPTION message. If the logger is currently enabled for the EXCEPTION message level then the given message is forwarded to all the registered output Handler objects.
      Parameters:
      msg - The string message (or a key in the message catalog)
      clazz - The class where the message was created
      bundleName - Name of the bundle where the message was created