Class PrefixLogger
- java.lang.Object
-
- com.snowflake.connectors.util.log.PrefixLogger
-
- All Implemented Interfaces:
org.slf4j.Logger
- Direct Known Subclasses:
TaskReactorLogger
public class PrefixLogger extends Object implements org.slf4j.Logger
Logger which adds a given prefix to all logged messages
-
-
Constructor Summary
Constructors Constructor Description PrefixLogger(String prefix, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String s)
void
debug(String s, Object o)
void
debug(String s, Object... objects)
void
debug(String s, Object o, Object o1)
void
debug(String s, Throwable throwable)
void
debug(org.slf4j.Marker marker, String s)
void
debug(org.slf4j.Marker marker, String s, Object o)
void
debug(org.slf4j.Marker marker, String s, Object... objects)
void
debug(org.slf4j.Marker marker, String s, Object o, Object o1)
void
debug(org.slf4j.Marker marker, String s, Throwable throwable)
void
error(String s)
void
error(String s, Object o)
void
error(String s, Object... objects)
void
error(String s, Object o, Object o1)
void
error(String s, Throwable throwable)
void
error(org.slf4j.Marker marker, String s)
void
error(org.slf4j.Marker marker, String s, Object o)
void
error(org.slf4j.Marker marker, String s, Object... objects)
void
error(org.slf4j.Marker marker, String s, Object o, Object o1)
void
error(org.slf4j.Marker marker, String s, Throwable throwable)
String
getName()
void
info(String s)
void
info(String s, Object o)
void
info(String s, Object... objects)
void
info(String s, Object o, Object o1)
void
info(String s, Throwable throwable)
void
info(org.slf4j.Marker marker, String s)
void
info(org.slf4j.Marker marker, String s, Object o)
void
info(org.slf4j.Marker marker, String s, Object... objects)
void
info(org.slf4j.Marker marker, String s, Object o, Object o1)
void
info(org.slf4j.Marker marker, String s, Throwable throwable)
boolean
isDebugEnabled()
boolean
isDebugEnabled(org.slf4j.Marker marker)
boolean
isErrorEnabled()
boolean
isErrorEnabled(org.slf4j.Marker marker)
boolean
isInfoEnabled()
boolean
isInfoEnabled(org.slf4j.Marker marker)
boolean
isTraceEnabled()
boolean
isTraceEnabled(org.slf4j.Marker marker)
boolean
isWarnEnabled()
boolean
isWarnEnabled(org.slf4j.Marker marker)
void
trace(String s)
void
trace(String s, Object o)
void
trace(String s, Object... objects)
void
trace(String s, Object o, Object o1)
void
trace(String s, Throwable throwable)
void
trace(org.slf4j.Marker marker, String s)
void
trace(org.slf4j.Marker marker, String s, Object o)
void
trace(org.slf4j.Marker marker, String s, Object... objects)
void
trace(org.slf4j.Marker marker, String s, Object o, Object o1)
void
trace(org.slf4j.Marker marker, String s, Throwable throwable)
void
warn(String s)
void
warn(String s, Object o)
void
warn(String s, Object... objects)
void
warn(String s, Object o, Object o1)
void
warn(String s, Throwable throwable)
void
warn(org.slf4j.Marker marker, String s)
void
warn(org.slf4j.Marker marker, String s, Object o)
void
warn(org.slf4j.Marker marker, String s, Object... objects)
void
warn(org.slf4j.Marker marker, String s, Object o, Object o1)
void
warn(org.slf4j.Marker marker, String s, Throwable throwable)
-
-
-
Constructor Detail
-
PrefixLogger
public PrefixLogger(String prefix, org.slf4j.Logger logger)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.slf4j.Logger
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.slf4j.Logger
-
trace
public void trace(String s)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(String s, Object o, Object o1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(String s, Object... objects)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(String s, Throwable throwable)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
isTraceEnabled
public boolean isTraceEnabled(org.slf4j.Marker marker)
- Specified by:
isTraceEnabled
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, String s)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, String s, Object o)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, String s, Object o, Object o1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, String s, Object... objects)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, String s, Throwable throwable)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.slf4j.Logger
-
debug
public void debug(String s)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(String s, Object o, Object o1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(String s, Object... objects)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(String s, Throwable throwable)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
isDebugEnabled
public boolean isDebugEnabled(org.slf4j.Marker marker)
- Specified by:
isDebugEnabled
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, String s)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, String s, Object o)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, String s, Object o, Object o1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, String s, Object... objects)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, String s, Throwable throwable)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.slf4j.Logger
-
info
public void info(String s)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(String s, Object o, Object o1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(String s, Object... objects)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(String s, Throwable throwable)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
isInfoEnabled
public boolean isInfoEnabled(org.slf4j.Marker marker)
- Specified by:
isInfoEnabled
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, String s)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, String s, Object o)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, String s, Object o, Object o1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, String s, Object... objects)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, String s, Throwable throwable)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.slf4j.Logger
-
warn
public void warn(String s)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(String s, Object... objects)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(String s, Object o, Object o1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(String s, Throwable throwable)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
isWarnEnabled
public boolean isWarnEnabled(org.slf4j.Marker marker)
- Specified by:
isWarnEnabled
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, String s)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, String s, Object o)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, String s, Object o, Object o1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, String s, Object... objects)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, String s, Throwable throwable)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.slf4j.Logger
-
error
public void error(String s)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(String s, Object o, Object o1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(String s, Object... objects)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(String s, Throwable throwable)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
isErrorEnabled
public boolean isErrorEnabled(org.slf4j.Marker marker)
- Specified by:
isErrorEnabled
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, String s)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, String s, Object o)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, String s, Object o, Object o1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, String s, Object... objects)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
-