Class PrefixedLogger

java.lang.Object
com.github.startsmercury.simply.no.shading.util.PrefixedLogger
All Implemented Interfaces:
org.slf4j.Logger

@Deprecated(since="7.0.0", forRemoval=true) public class PrefixedLogger extends Object implements org.slf4j.Logger
Deprecated, for removal: This API element is subject to removal in a future version.
No replacement
The PrefixedLogger represents a wrapped logger where messages passed to the delegated logger are prefixed.
Since:
5.0.0
  • Field Summary

    Fields inherited from interface org.slf4j.Logger

    ROOT_LOGGER_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a new prefixed logger, wrapping the root logger.
    PrefixedLogger​(org.slf4j.Logger delegate, String prefix)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Creates a new prefixed logger, wrapping a logger delegate.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug​(String arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(String arg0, Object arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(String arg0, Object... arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(String arg0, Object arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(String arg0, Throwable arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(org.slf4j.Marker arg0, String arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(org.slf4j.Marker arg0, String arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(org.slf4j.Marker arg0, String arg1, Object... arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    debug​(org.slf4j.Marker arg0, String arg1, Throwable arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(String arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(String arg0, Object arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(String arg0, Object... arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(String arg0, Object arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(String arg0, Throwable arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(org.slf4j.Marker arg0, String arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(org.slf4j.Marker arg0, String arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(org.slf4j.Marker arg0, String arg1, Object... arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    error​(org.slf4j.Marker arg0, String arg1, Throwable arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(String arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(String arg0, Object arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(String arg0, Object... arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(String arg0, Object arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(String arg0, Throwable arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(org.slf4j.Marker arg0, String arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(org.slf4j.Marker arg0, String arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(org.slf4j.Marker arg0, String arg1, Object... arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    info​(org.slf4j.Marker arg0, String arg1, Throwable arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    isDebugEnabled​(org.slf4j.Marker arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    isErrorEnabled​(org.slf4j.Marker arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    isInfoEnabled​(org.slf4j.Marker arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    isTraceEnabled​(org.slf4j.Marker arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    boolean
    isWarnEnabled​(org.slf4j.Marker arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    named​(String name, String prefix)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a named prefix logger.
    root​(String prefix)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a prefixed root logger.
    void
    trace​(String arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(String arg0, Object arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(String arg0, Object... arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(String arg0, Object arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(String arg0, Throwable arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(org.slf4j.Marker arg0, String arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(org.slf4j.Marker arg0, String arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(org.slf4j.Marker arg0, String arg1, Object... arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    trace​(org.slf4j.Marker arg0, String arg1, Throwable arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(String arg0)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(String arg0, Object arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(String arg0, Object... arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(String arg0, Object arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(String arg0, Throwable arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(org.slf4j.Marker arg0, String arg1)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(org.slf4j.Marker arg0, String arg1, Object arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(org.slf4j.Marker arg0, String arg1, Object... arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
    Deprecated, for removal: This API element is subject to removal in a future version.
    void
    warn​(org.slf4j.Marker arg0, String arg1, Throwable arg2)
    Deprecated, for removal: This API element is subject to removal in a future version.
    wrapped​(org.slf4j.Logger logger, String prefix)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns a prefix logger.

    Methods inherited from class java.lang.Object

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

    • PrefixedLogger

      public PrefixedLogger(org.slf4j.Logger delegate, String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new prefixed logger, wrapping a logger delegate.
      Parameters:
      delegate - the wrapped or delegated logger
      prefix - the prefixes to the message
    • PrefixedLogger

      public PrefixedLogger(String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new prefixed logger, wrapping the root logger.
      Parameters:
      prefix - the prefixes to the message
  • Method Details

    • named

      public static PrefixedLogger named(String name, String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a named prefix logger.
      Parameters:
      name - the name of the logger
      prefix - the prefixes to the message
      Returns:
      a named prefixed logger
      See Also:
      LoggerFactory.getLogger(String)
    • root

      public static PrefixedLogger root(String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a prefixed root logger.
      Parameters:
      prefix - the prefixes to the message
      Returns:
      a prefixed root logger
      See Also:
      Logger.ROOT_LOGGER_NAME
    • wrapped

      public static PrefixedLogger wrapped(org.slf4j.Logger logger, String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns a prefix logger.
      Parameters:
      logger - the logger
      prefix - the prefixes to the message
      Returns:
      a prefixed logger
      See Also:
      new PrefixedLogger(Logger, String)
    • debug

      public void debug(org.slf4j.Marker arg0, String arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(org.slf4j.Marker arg0, String arg1, Object... arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(org.slf4j.Marker arg0, String arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(org.slf4j.Marker arg0, String arg1, Throwable arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(String arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(String arg0, Object... arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(String arg0, Object arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(String arg0, Object arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • debug

      public void debug(String arg0, Throwable arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      debug in interface org.slf4j.Logger
    • error

      public void error(org.slf4j.Marker arg0, String arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(org.slf4j.Marker arg0, String arg1, Object... arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(org.slf4j.Marker arg0, String arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(org.slf4j.Marker arg0, String arg1, Throwable arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(String arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(String arg0, Object... arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(String arg0, Object arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(String arg0, Object arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • error

      public void error(String arg0, Throwable arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      error in interface org.slf4j.Logger
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getName in interface org.slf4j.Logger
    • info

      public void info(org.slf4j.Marker arg0, String arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(org.slf4j.Marker arg0, String arg1, Object... arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(org.slf4j.Marker arg0, String arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(org.slf4j.Marker arg0, String arg1, Throwable arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(String arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(String arg0, Object... arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(String arg0, Object arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(String arg0, Object arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • info

      public void info(String arg0, Throwable arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      info in interface org.slf4j.Logger
    • isDebugEnabled

      public boolean isDebugEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isDebugEnabled in interface org.slf4j.Logger
    • isDebugEnabled

      public boolean isDebugEnabled(org.slf4j.Marker arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isDebugEnabled in interface org.slf4j.Logger
    • isErrorEnabled

      public boolean isErrorEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isErrorEnabled in interface org.slf4j.Logger
    • isErrorEnabled

      public boolean isErrorEnabled(org.slf4j.Marker arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isErrorEnabled in interface org.slf4j.Logger
    • isInfoEnabled

      public boolean isInfoEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isInfoEnabled in interface org.slf4j.Logger
    • isInfoEnabled

      public boolean isInfoEnabled(org.slf4j.Marker arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isInfoEnabled in interface org.slf4j.Logger
    • isTraceEnabled

      public boolean isTraceEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isTraceEnabled in interface org.slf4j.Logger
    • isTraceEnabled

      public boolean isTraceEnabled(org.slf4j.Marker arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isTraceEnabled in interface org.slf4j.Logger
    • isWarnEnabled

      public boolean isWarnEnabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isWarnEnabled in interface org.slf4j.Logger
    • isWarnEnabled

      public boolean isWarnEnabled(org.slf4j.Marker arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isWarnEnabled in interface org.slf4j.Logger
    • trace

      public void trace(org.slf4j.Marker arg0, String arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(org.slf4j.Marker arg0, String arg1, Object... arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(org.slf4j.Marker arg0, String arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(org.slf4j.Marker arg0, String arg1, Throwable arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(String arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(String arg0, Object... arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(String arg0, Object arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(String arg0, Object arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • trace

      public void trace(String arg0, Throwable arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      trace in interface org.slf4j.Logger
    • warn

      public void warn(org.slf4j.Marker arg0, String arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(org.slf4j.Marker arg0, String arg1, Object... arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(org.slf4j.Marker arg0, String arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(org.slf4j.Marker arg0, String arg1, Object arg2, Object arg3)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(org.slf4j.Marker arg0, String arg1, Throwable arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(String arg0)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(String arg0, Object... arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(String arg0, Object arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(String arg0, Object arg1, Object arg2)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger
    • warn

      public void warn(String arg0, Throwable arg1)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      warn in interface org.slf4j.Logger