Class NoneLogFactory.NoneLog

java.lang.Object
org.apache.openjpa.lib.log.NoneLogFactory.NoneLog
All Implemented Interfaces:
Log
Enclosing class:
NoneLogFactory

public static class NoneLogFactory.NoneLog extends Object implements Log
No-op log.
  • Field Summary

    Fields inherited from interface org.apache.openjpa.lib.log.Log

    ERROR, FATAL, INFO, TRACE, WARN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    Write out a log message at the Log.ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.ERROR level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.FATAL level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.FATAL level with the stringification of o as the body of the message, also outputting t to the log.
     
    final void
    Write out a log message at the Log.INFO level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.INFO level with the stringification of o as the body of the message, also outputting t to the log.
    final boolean
    Returns if the Log.ERROR log level is enabled.
    final boolean
    Returns if the Log.FATAL log level is enabled.
    final boolean
    Returns if the Log.INFO log level is enabled.
    final boolean
    Returns if the Log.TRACE log level is enabled.
    final boolean
    Returns if the Log.WARN log level is enabled.
    final void
    Write out a log message at the Log.TRACE level with the stringification of o as the body of the message.
    final void
    Write out a log message at the Log.TRACE level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.WARN level with the stringification of o as the body of the message, also outputting t to the log.
    final void
    Write out a log message at the Log.WARN level with the stringification of o as the body of the message, also outputting t to the log.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NoneLog

      public NoneLog()
  • Method Details

    • getInstance

      public static NoneLogFactory.NoneLog getInstance()
    • isErrorEnabled

      public final boolean isErrorEnabled()
      Description copied from interface: Log
      Returns if the Log.ERROR log level is enabled.
      Specified by:
      isErrorEnabled in interface Log
    • isFatalEnabled

      public final boolean isFatalEnabled()
      Description copied from interface: Log
      Returns if the Log.FATAL log level is enabled.
      Specified by:
      isFatalEnabled in interface Log
    • isInfoEnabled

      public final boolean isInfoEnabled()
      Description copied from interface: Log
      Returns if the Log.INFO log level is enabled.
      Specified by:
      isInfoEnabled in interface Log
    • isTraceEnabled

      public final boolean isTraceEnabled()
      Description copied from interface: Log
      Returns if the Log.TRACE log level is enabled.
      Specified by:
      isTraceEnabled in interface Log
    • isWarnEnabled

      public final boolean isWarnEnabled()
      Description copied from interface: Log
      Returns if the Log.WARN log level is enabled.
      Specified by:
      isWarnEnabled in interface Log
    • trace

      public final void trace(Object o)
      Description copied from interface: Log
      Write out a log message at the Log.TRACE level with the stringification of o as the body of the message.
      Specified by:
      trace in interface Log
    • trace

      public final void trace(Object o, Throwable t)
      Description copied from interface: Log
      Write out a log message at the Log.TRACE level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      trace in interface Log
    • info

      public final void info(Object o)
      Description copied from interface: Log
      Write out a log message at the Log.INFO level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      info in interface Log
    • info

      public final void info(Object o, Throwable t)
      Description copied from interface: Log
      Write out a log message at the Log.INFO level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      info in interface Log
    • warn

      public final void warn(Object o)
      Description copied from interface: Log
      Write out a log message at the Log.WARN level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      warn in interface Log
    • warn

      public final void warn(Object o, Throwable t)
      Description copied from interface: Log
      Write out a log message at the Log.WARN level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      warn in interface Log
    • error

      public final void error(Object o)
      Description copied from interface: Log
      Write out a log message at the Log.ERROR level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      error in interface Log
    • error

      public final void error(Object o, Throwable t)
      Description copied from interface: Log
      Write out a log message at the Log.ERROR level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      error in interface Log
    • fatal

      public final void fatal(Object o)
      Description copied from interface: Log
      Write out a log message at the Log.FATAL level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      fatal in interface Log
    • fatal

      public final void fatal(Object o, Throwable t)
      Description copied from interface: Log
      Write out a log message at the Log.FATAL level with the stringification of o as the body of the message, also outputting t to the log.
      Specified by:
      fatal in interface Log