Package org.apache.uima.util.impl
Class Logger_common_impl
- java.lang.Object
-
- org.apache.uima.util.impl.Logger_common_impl
-
- All Implemented Interfaces:
Logger
,org.slf4j.Logger
- Direct Known Subclasses:
JSR47Logger_impl
,Log4jLogger_impl
,Logger_impl
,Slf4jLogger_impl
public abstract class Logger_common_impl extends java.lang.Object implements Logger
UIMA Logging interface common implementation Specific loggers extend this classLogging "location" information:
- This is the Classname / Methodname / and maybe line number where the logging statement is
- is passed in on the logrb calls, but is not needed by modern loggers.
- In V3, passed in value is ignored; loggers get what they need as configured.
- In Java 9 this will be efficient
Limiting or throttling loggers: This is normally done using logger configuration. For cases where UIMA is running as an embedded library, sometimes Annotators log excessivly, and users do not have access to the logging configuration. But they do have access to APIs which create the UIMA pipelines.
V3 supports an additional param, AnalysisEngine.PARAM_THROTTLE_EXCESSIVE_ANNOTATOR_LOGGING which if set, specifies a limit of the number of log messages issued by Annotator code.
This requires:
- marking loggers if they are Annotator loggers (e.g., their associated "class" used in setting the name of the logger, is assignable to AnalysisComponent_ImplBase, which includes: Annotators, CasMultipliers, and UimacppAnalysisComponents.
- When setting up a logger in the UimaContext logger code (via setLogger), checking if the logger is an Annotator logger, and if so, setting the limit on it from the parameter associated with the UIMA context.
The loggers with a limit are cloned for the particular pipeline (represented by the root UIMA context), so that setting the limit only affects one pipeline.
The common part of logging does:
- optional throttling
- the UIMA specific resource bundle message conversions
- the conversion of variants of log methods to standard ones
-
-
Field Summary
Fields Modifier and Type Field Description private int
CONFIG_COUNT
private java.util.concurrent.atomic.AtomicInteger
dontSetResourceManagerCount
protected static java.lang.String[]
EMPTY_STACK_TRACE_INFO
protected static java.lang.String
EXCEPTION_MESSAGE
private int
FINE_COUNT
private int
FINER_COUNT
private int
FINEST_COUNT
protected java.lang.String
fqcn
protected java.lang.String
fqcnCmn
private int
INFO_COUNT
private boolean
isAnnotatorLogger
private boolean
isLimited
protected int
limit_common
private ResourceManager
mResourceManager
ResourceManager whose extension ClassLoader will be used to locate the message digests.private int
SEVERE_COUNT
private int
WARNING_COUNT
-
Fields inherited from interface org.apache.uima.util.Logger
UIMA_MARKER_CONFIG, UIMA_MARKER_FINEST
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Logger_common_impl(java.lang.Class<?> component)
protected
Logger_common_impl(Logger_common_impl lci, int limit)
Copy constructor for limited loggers
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
debug(java.lang.String arg0)
Convert standard call varietiesvoid
debug(java.lang.String arg0, java.lang.Object arg1)
void
debug(java.lang.String arg0, java.lang.Object... arg1)
void
debug(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
void
debug(java.lang.String arg0, java.lang.Throwable arg1)
void
debug(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
debug(java.util.function.Supplier<java.lang.String> msgSupplier)
void
debug(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
debug(org.slf4j.Marker arg0, java.lang.String arg1)
void
debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
void
debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
void
debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
void
debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
void
debug(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
debug(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
void
debug(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
error(java.lang.String arg0)
void
error(java.lang.String arg0, java.lang.Object arg1)
void
error(java.lang.String arg0, java.lang.Object... arg1)
void
error(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
void
error(java.lang.String arg0, java.lang.Throwable arg1)
void
error(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
error(java.util.function.Supplier<java.lang.String> msgSupplier)
void
error(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
error(org.slf4j.Marker arg0, java.lang.String arg1)
void
error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
void
error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
void
error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
void
error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
void
error(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
error(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
void
error(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
private java.lang.ClassLoader
getExtensionClassLoader()
Gets the extension ClassLoader to used to locate the message digests.static org.slf4j.Marker
getMarkerForLevel(Level level)
void
info(java.lang.String arg0)
void
info(java.lang.String arg0, java.lang.Object arg1)
void
info(java.lang.String arg0, java.lang.Object... arg1)
void
info(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
void
info(java.lang.String arg0, java.lang.Throwable arg1)
void
info(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
info(java.util.function.Supplier<java.lang.String> msgSupplier)
void
info(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
info(org.slf4j.Marker arg0, java.lang.String arg1)
void
info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
void
info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
void
info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
void
info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
void
info(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
info(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
void
info(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
boolean
isAnnotatorLogger()
This is true if the name of the logger corresponds to a class which implements AnalysisComponent_ImplBase, which includes basic Annotators, plus Cas Multipliers and CPP components.protected boolean
isEmpty(java.lang.String v)
private boolean
isNotLimited(Level level)
void
log(java.lang.String aMessage)
Deprecated.use new function with log levelvoid
log(java.lang.String aResourceBundleName, java.lang.String aMessageKey, java.lang.Object[] aArguments)
Deprecated.use new function with log levelvoid
log(java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Throwable thrown)
Convert a standard UIMA call for wrapped loggersvoid
log(Level level, java.lang.String aMessage)
Logs a message.void
log(Level level, java.lang.String aMessage, java.lang.Object param1)
Logs a message with one parametervoid
log(Level level, java.lang.String aMessage, java.lang.Object[] params)
Logs a message with an arbitrary number of parametersvoid
log(Level level, java.lang.String aMessage, java.lang.Throwable thrown)
Logs a message and a throwable objectabstract void
log(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Object[] args, java.lang.Throwable throwable)
The main log call implemented by subclassesabstract void
log(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Throwable throwable)
The version of the main log call implemented by subclasses that skips the substitution because it already was done by rb()abstract void
log2(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Object[] args, java.lang.Throwable throwable)
The version of the main log call implemented by subclasses that uses {}, not {n} as the substitutable syntax.void
logException(java.lang.Exception aException)
Deprecated.use new function with log levelvoid
logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey)
Logs a message with a message key.void
logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Object param1)
Logs a message with a message key and one parameter.void
logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Object[] params)
Logs a message with a message key and an arbitrary number of parameters.void
logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Throwable thrown)
Logs a message with a message key and a throwable object.java.lang.String
rb(java.lang.String bundleName, java.lang.String msgKey, java.lang.Object... parameters)
Get an internationalized message from a resource bundle by key name, substituting the parameters.void
setAnnotatorLogger(boolean v)
void
setOutputStream(java.io.OutputStream out)
Deprecated.use external configuration possibilityvoid
setOutputStream(java.io.PrintStream out)
Deprecated.use external configuration possibilityvoid
setResourceManager(ResourceManager resourceManager)
Deprecated.private java.lang.Object[]
suppliersToArray(java.util.function.Supplier<?>[] suppliers)
void
trace(java.lang.String arg0)
void
trace(java.lang.String arg0, java.lang.Object arg1)
void
trace(java.lang.String arg0, java.lang.Object... arg1)
void
trace(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
void
trace(java.lang.String arg0, java.lang.Throwable arg1)
void
trace(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
trace(java.util.function.Supplier<java.lang.String> msgSupplier)
void
trace(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
trace(org.slf4j.Marker arg0, java.lang.String arg1)
void
trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
void
trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
void
trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
void
trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
void
trace(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
trace(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
void
trace(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
warn(java.lang.String arg0)
void
warn(java.lang.String arg0, java.lang.Object arg1)
void
warn(java.lang.String arg0, java.lang.Object... arg1)
void
warn(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
void
warn(java.lang.String arg0, java.lang.Throwable arg1)
void
warn(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
warn(java.util.function.Supplier<java.lang.String> msgSupplier)
void
warn(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
void
warn(org.slf4j.Marker arg0, java.lang.String arg1)
void
warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
void
warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
void
warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
void
warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
void
warn(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
void
warn(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
void
warn(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.uima.util.Logger
getLimitedLogger, isLoggable, isLoggable, rb_ue, setLevel
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE
protected static final java.lang.String EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
-
EMPTY_STACK_TRACE_INFO
protected static final java.lang.String[] EMPTY_STACK_TRACE_INFO
-
fqcn
protected final java.lang.String fqcn
-
fqcnCmn
protected final java.lang.String fqcnCmn
-
SEVERE_COUNT
private int SEVERE_COUNT
-
WARNING_COUNT
private int WARNING_COUNT
-
INFO_COUNT
private int INFO_COUNT
-
CONFIG_COUNT
private int CONFIG_COUNT
-
FINE_COUNT
private int FINE_COUNT
-
FINER_COUNT
private int FINER_COUNT
-
FINEST_COUNT
private int FINEST_COUNT
-
limit_common
protected final int limit_common
-
isLimited
private final boolean isLimited
-
dontSetResourceManagerCount
private final java.util.concurrent.atomic.AtomicInteger dontSetResourceManagerCount
-
mResourceManager
private ResourceManager mResourceManager
ResourceManager whose extension ClassLoader will be used to locate the message digests. Null will cause the ClassLoader to default to this.class.getClassLoader().
-
isAnnotatorLogger
private boolean isAnnotatorLogger
-
-
Constructor Detail
-
Logger_common_impl
protected Logger_common_impl(java.lang.Class<?> component)
-
Logger_common_impl
protected Logger_common_impl(Logger_common_impl lci, int limit)
Copy constructor for limited loggers- Parameters:
lci
- the original logger to copylimit
- the limit
-
-
Method Detail
-
log
public abstract void log(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Object[] args, java.lang.Throwable throwable)
The main log call implemented by subclasses- Parameters:
m
- the markeraFqcn
- the fully qualified class name of the top-most logging class used to filter the stack trace to get the caller class / method infolevel
- the UIMA levelmessage
- -args
- - arguments to be substituted into the messagethrowable
- - can be null
-
log2
public abstract void log2(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Object[] args, java.lang.Throwable throwable)
The version of the main log call implemented by subclasses that uses {}, not {n} as the substitutable syntax. This syntax is used by log4j, slf4j, and others. But not used by uimaj logger basic syntax, or Java Util Logger. This version is called by all new logging statments that don't need to be backwards compatible. e.g. logger.info, logger.error, logger.warn, etc.- Parameters:
m
- the markeraFqcn
- the fully qualified class name of the top-most logging class used to filter the stack trace to get the caller class / method infolevel
- the UIMA levelmessage
- -args
- - arguments to be substituted into the messagethrowable
- - can be null
-
log
public abstract void log(org.slf4j.Marker m, java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Throwable throwable)
The version of the main log call implemented by subclasses that skips the substitution because it already was done by rb()- Parameters:
m
- the markeraFqcn
- the fully qualified class name of the top-most logging class used to filter the stack trace to get the caller class / method infolevel
- the UIMA levelmessage
- -throwable
- - can be null
-
getMarkerForLevel
public static org.slf4j.Marker getMarkerForLevel(Level level)
- Parameters:
level
- the Uima Level- Returns:
- the Marker to use
-
log
public void log(java.lang.String aFqcn, Level level, java.lang.String message, java.lang.Throwable thrown)
Convert a standard UIMA call for wrapped loggers
-
isNotLimited
private boolean isNotLimited(Level level)
- Parameters:
level
- -- Returns:
- true if not limited
-
setOutputStream
@Deprecated public void setOutputStream(java.io.OutputStream out)
Deprecated.use external configuration possibilityDescription copied from interface:Logger
Sets the output stream to which log messages will go. Setting the output stream tonull
will disable the logger.- Specified by:
setOutputStream
in interfaceLogger
- Parameters:
out
-OutputStream
to which log messages will be printed- See Also:
Logger.setOutputStream(java.io.OutputStream)
-
setOutputStream
@Deprecated public void setOutputStream(java.io.PrintStream out)
Deprecated.use external configuration possibilityDescription copied from interface:Logger
Sets the output stream to which log messages will go. Setting the output stream tonull
will disable the logger.- Specified by:
setOutputStream
in interfaceLogger
- Parameters:
out
-PrintStream
to which log messages will be printed- See Also:
Logger.setOutputStream(java.io.PrintStream)
-
log
@Deprecated public void log(java.lang.String aMessage)
Deprecated.use new function with log levelLogs a message with level INFO.
-
log
@Deprecated public void log(java.lang.String aResourceBundleName, java.lang.String aMessageKey, java.lang.Object[] aArguments)
Deprecated.use new function with log levelLogs a message with a message key and the level INFO- Specified by:
log
in interfaceLogger
- Parameters:
aResourceBundleName
- base name of resource bundleaMessageKey
- key of message to localize with message level INFOaArguments
- arguments to message (may be null if none)- See Also:
Logger.log(java.lang.String, java.lang.String, java.lang.Object[])
-
logException
@Deprecated public void logException(java.lang.Exception aException)
Deprecated.use new function with log levelLogs an exception with level INFO- Specified by:
logException
in interfaceLogger
- Parameters:
aException
- the exception to be logged
-
log
public void log(Level level, java.lang.String aMessage)
Description copied from interface:Logger
Logs a message.
-
log
public void log(Level level, java.lang.String aMessage, java.lang.Object param1)
Description copied from interface:Logger
Logs a message with one parameter
-
log
public void log(Level level, java.lang.String aMessage, java.lang.Object[] params)
Description copied from interface:Logger
Logs a message with an arbitrary number of parameters
-
log
public void log(Level level, java.lang.String aMessage, java.lang.Throwable thrown)
Description copied from interface:Logger
Logs a message and a throwable object
-
logrb
public void logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Object param1)
Description copied from interface:Logger
Logs a message with a message key and one parameter. The real message is extracted from a resource bundle.
-
logrb
public void logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Object[] params)
Description copied from interface:Logger
Logs a message with a message key and an arbitrary number of parameters. The real message is extracted from a resource bundle.
-
logrb
public void logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey, java.lang.Throwable thrown)
Description copied from interface:Logger
Logs a message with a message key and a throwable object. The real message is extracted from a resource bundle.
-
logrb
public void logrb(Level level, java.lang.String sourceClass, java.lang.String sourceMethod, java.lang.String bundleName, java.lang.String msgKey)
Description copied from interface:Logger
Logs a message with a message key. The real message is extracted from a resource bundle.
-
setResourceManager
@Deprecated public void setResourceManager(ResourceManager resourceManager)
Deprecated.Description copied from interface:Logger
Sets the ResourceManager to use for message localization. This method is intended for use by the framework, not by user code.- Specified by:
setResourceManager
in interfaceLogger
- Parameters:
resourceManager
- A resource manager instance whose extension ClassLoader (if any) will be used for message localization by this logger.
-
getExtensionClassLoader
private java.lang.ClassLoader getExtensionClassLoader()
Gets the extension ClassLoader to used to locate the message digests. If this returns null, then message digests will be searched for using this.class.getClassLoader().
-
rb
public java.lang.String rb(java.lang.String bundleName, java.lang.String msgKey, java.lang.Object... parameters)
Description copied from interface:Logger
Get an internationalized message from a resource bundle by key name, substituting the parameters. This should be called via a Supplier to avoid computing this until needed
-
isEmpty
protected boolean isEmpty(java.lang.String v)
-
isAnnotatorLogger
public boolean isAnnotatorLogger()
Description copied from interface:Logger
This is true if the name of the logger corresponds to a class which implements AnalysisComponent_ImplBase, which includes basic Annotators, plus Cas Multipliers and CPP components.- Specified by:
isAnnotatorLogger
in interfaceLogger
- Returns:
- true if this logger is an Annotator logger.
-
setAnnotatorLogger
public void setAnnotatorLogger(boolean v)
-
suppliersToArray
private java.lang.Object[] suppliersToArray(java.util.function.Supplier<?>[] suppliers)
-
debug
public void debug(java.lang.String arg0)
Convert standard call varieties- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String arg0, java.lang.Object arg1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String arg0, java.lang.Object... arg1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String arg0, java.lang.Throwable arg1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker arg0, java.lang.String arg1)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
- Specified by:
debug
in interfaceorg.slf4j.Logger
-
debug
public void debug(java.util.function.Supplier<java.lang.String> msgSupplier)
-
debug
public void debug(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
debug
public void debug(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
debug
public void debug(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
-
debug
public void debug(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
error
public void error(java.lang.String arg0)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String arg0, java.lang.Object arg1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String arg0, java.lang.Object... arg1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String arg0, java.lang.Throwable arg1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker arg0, java.lang.String arg1)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
- Specified by:
error
in interfaceorg.slf4j.Logger
-
error
public void error(java.util.function.Supplier<java.lang.String> msgSupplier)
-
error
public void error(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
error
public void error(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
error
public void error(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
error
public void error(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
-
error
public void error(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
info
public void info(java.lang.String arg0)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String arg0, java.lang.Object arg1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String arg0, java.lang.Object... arg1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String arg0, java.lang.Throwable arg1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker arg0, java.lang.String arg1)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
- Specified by:
info
in interfaceorg.slf4j.Logger
-
info
public void info(java.util.function.Supplier<java.lang.String> msgSupplier)
-
info
public void info(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
info
public void info(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
info
public void info(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
- Parameters:
message
- the message to logparamSuppliers
- An array of functions, which when called, produce the desired log message parameters.
-
info
public void info(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
-
info
public void info(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
trace
public void trace(java.lang.String arg0)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String arg0, java.lang.Object arg1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String arg0, java.lang.Object... arg1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String arg0, java.lang.Throwable arg1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker arg0, java.lang.String arg1)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
- Specified by:
trace
in interfaceorg.slf4j.Logger
-
trace
public void trace(java.util.function.Supplier<java.lang.String> msgSupplier)
-
trace
public void trace(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
trace
public void trace(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
trace
public void trace(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
-
trace
public void trace(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
warn
public void warn(java.lang.String arg0)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String arg0, java.lang.Object arg1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String arg0, java.lang.Object... arg1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String arg0, java.lang.Throwable arg1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker arg0, java.lang.String arg1)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String arg0, java.lang.Object arg1, java.lang.Object arg2)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object... arg2)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Throwable arg2)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.Object arg3)
- Specified by:
warn
in interfaceorg.slf4j.Logger
-
warn
public void warn(java.util.function.Supplier<java.lang.String> msgSupplier)
-
warn
public void warn(java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
warn
public void warn(java.lang.String message, java.util.function.Supplier<?>... paramSuppliers)
-
warn
public void warn(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier)
-
warn
public void warn(org.slf4j.Marker marker, java.util.function.Supplier<java.lang.String> msgSupplier, java.lang.Throwable throwable)
-
-