Interface EngineLoggingFactory.Logger

Enclosing class:
EngineLoggingFactory

public static interface EngineLoggingFactory.Logger
Logger interface for all log writing.
Author:
Matthew Tropiano
  • Method Details

    • setLoggingLevel

      void setLoggingLevel(EngineLoggingFactory.LogLevel loglevel)
      Sets the individual logging level for this logger.
      Parameters:
      loglevel - the desired logging level or null to defer to the parent factory level.
    • getLoggingLevel

      Gets the current individual logging level for this logger.
      Returns:
      the current level. can be null, meaning this defers to the parent factory's log level.
    • fatal

      void fatal(Object message)
      Outputs a FATAL log message.
      Parameters:
      message - the object to convert to a string to dump.
    • fatalf

      void fatalf(String formatString, Object... args)
      Outputs a FATAL log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • fatal

      void fatal(Throwable t, Object message)
      Outputs a FATAL log message.
      Parameters:
      t - the throwable to print along with the message.
      message - the object to convert to a string to dump.
    • fatalf

      void fatalf(Throwable t, String formatString, Object... args)
      Outputs a FATAL log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      t - the throwable to print along with the message.
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • severe

      void severe(Object message)
      Outputs a SEVERE log message.
      Parameters:
      message - the object to convert to a string to dump.
    • severef

      void severef(String formatString, Object... args)
      Outputs a SEVERE log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • severe

      void severe(Throwable t, Object message)
      Outputs a SEVERE log message.
      Parameters:
      t - the throwable to print along with the message.
      message - the object to convert to a string to dump.
    • severef

      void severef(Throwable t, String formatString, Object... args)
      Outputs a SEVERE log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      t - the throwable to print along with the message.
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • error

      void error(Object message)
      Outputs a ERROR log message.
      Parameters:
      message - the object to convert to a string to dump.
    • errorf

      void errorf(String formatString, Object... args)
      Outputs a ERROR log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • error

      void error(Throwable t, Object message)
      Outputs a ERROR log message.
      Parameters:
      t - the throwable to print along with the message.
      message - the object to convert to a string to dump.
    • errorf

      void errorf(Throwable t, String formatString, Object... args)
      Outputs a ERROR log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      t - the throwable to print along with the message.
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • warn

      void warn(Object message)
      Outputs a WARNING log message.
      Parameters:
      message - the object to convert to a string to dump.
    • warnf

      void warnf(String formatString, Object... args)
      Outputs a WARNING log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • info

      void info(Object message)
      Outputs a INFO log message.
      Parameters:
      message - the object to convert to a string to dump.
    • infof

      void infof(String formatString, Object... args)
      Outputs a INFO log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.
    • debug

      void debug(Object message)
      Outputs a DEBUG log message.
      Parameters:
      message - the object to convert to a string to dump.
    • debugf

      void debugf(String formatString, Object... args)
      Outputs a DEBUG log message, formatted. A newline is always appended to the end of the message.
      Parameters:
      formatString - the formatting string to use to render the args.
      args - the additional parameters for the formatter.