public class LoggerDefault extends java.lang.Object implements EcmLogger
EcmLogger has been defined.
Since it works the same (precisely nothing) for all the classes, only one object of this class is created (no reason to have more of them).| Modifier and Type | Field and Description |
|---|---|
static LoggerDefault |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Identifiable identifiable,
java.lang.String text) |
void |
debug(Identifiable identifiable,
java.lang.String text,
java.lang.Throwable e) |
void |
debug(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier) |
void |
debug(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
debug(java.lang.String text) |
void |
debug(java.lang.String text,
java.lang.Throwable e) |
void |
debug(java.util.function.Supplier<java.lang.String> supplier) |
void |
debug(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
debug(java.lang.Throwable e) |
void |
error(Identifiable identifiable,
java.lang.String text) |
void |
error(Identifiable identifiable,
java.lang.String text,
java.lang.Throwable e) |
void |
error(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier) |
void |
error(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
error(java.lang.String text) |
void |
error(java.lang.String text,
java.lang.Throwable e) |
void |
error(java.util.function.Supplier<java.lang.String> supplier) |
void |
error(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
error(java.lang.Throwable e) |
void |
info(Identifiable identifiable,
java.lang.String text) |
void |
info(Identifiable identifiable,
java.lang.String text,
java.lang.Throwable e) |
void |
info(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier) |
void |
info(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
info(java.lang.String text) |
void |
info(java.lang.String text,
java.lang.Throwable e) |
void |
info(java.util.function.Supplier<java.lang.String> supplier) |
void |
info(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
info(java.lang.Throwable e) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
setLoggingLevel(LoggingLevel level) |
void |
warning(Identifiable identifiable,
java.lang.String text) |
void |
warning(Identifiable identifiable,
java.lang.String text,
java.lang.Throwable e) |
void |
warning(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier) |
void |
warning(Identifiable identifiable,
java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
warning(java.lang.String text) |
void |
warning(java.lang.String text,
java.lang.Throwable e) |
void |
warning(java.util.function.Supplier<java.lang.String> supplier) |
void |
warning(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e) |
void |
warning(java.lang.Throwable e) |
public static final LoggerDefault INSTANCE
public void debug(java.lang.String text)
debug in interface EcmSimpleLoggerpublic void info(java.lang.String text)
info in interface EcmSimpleLoggerpublic void warning(java.lang.String text)
warning in interface EcmSimpleLoggerpublic void error(java.lang.String text)
error in interface EcmSimpleLoggerpublic void debug(Identifiable identifiable, java.lang.String text)
debug in interface EcmSimpleLoggerpublic void info(Identifiable identifiable, java.lang.String text)
info in interface EcmSimpleLoggerpublic void warning(Identifiable identifiable, java.lang.String text)
warning in interface EcmSimpleLoggerpublic void error(Identifiable identifiable, java.lang.String text)
error in interface EcmSimpleLoggerpublic void debug(Identifiable identifiable, java.lang.String text, java.lang.Throwable e)
debug in interface EcmSimpleLoggerpublic void info(Identifiable identifiable, java.lang.String text, java.lang.Throwable e)
info in interface EcmSimpleLoggerpublic void warning(Identifiable identifiable, java.lang.String text, java.lang.Throwable e)
warning in interface EcmSimpleLoggerpublic void error(Identifiable identifiable, java.lang.String text, java.lang.Throwable e)
error in interface EcmSimpleLoggerpublic void debug(java.lang.String text,
java.lang.Throwable e)
debug in interface EcmSimpleLoggerpublic void info(java.lang.String text,
java.lang.Throwable e)
info in interface EcmSimpleLoggerpublic void warning(java.lang.String text,
java.lang.Throwable e)
warning in interface EcmSimpleLoggerpublic void error(java.lang.String text,
java.lang.Throwable e)
error in interface EcmSimpleLoggerpublic void debug(java.util.function.Supplier<java.lang.String> supplier)
debug in interface EcmSupplierLoggerpublic void debug(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier)
debug in interface EcmSupplierLoggerpublic void debug(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e)
debug in interface EcmSupplierLoggerpublic void debug(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier, java.lang.Throwable e)
debug in interface EcmSupplierLoggerpublic void info(java.util.function.Supplier<java.lang.String> supplier)
info in interface EcmSupplierLoggerpublic void info(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier)
info in interface EcmSupplierLoggerpublic void info(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e)
info in interface EcmSupplierLoggerpublic void info(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier, java.lang.Throwable e)
info in interface EcmSupplierLoggerpublic void warning(java.util.function.Supplier<java.lang.String> supplier)
warning in interface EcmSupplierLoggerpublic void warning(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier)
warning in interface EcmSupplierLoggerpublic void warning(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e)
warning in interface EcmSupplierLoggerpublic void warning(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier, java.lang.Throwable e)
warning in interface EcmSupplierLoggerpublic void error(java.util.function.Supplier<java.lang.String> supplier)
error in interface EcmSupplierLoggerpublic void error(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier)
error in interface EcmSupplierLoggerpublic void error(java.util.function.Supplier<java.lang.String> supplier,
java.lang.Throwable e)
error in interface EcmSupplierLoggerpublic void error(Identifiable identifiable, java.util.function.Supplier<java.lang.String> supplier, java.lang.Throwable e)
error in interface EcmSupplierLoggerpublic boolean isInfoEnabled()
isInfoEnabled in interface EcmSimpleLoggerpublic boolean isWarnEnabled()
isWarnEnabled in interface EcmSimpleLoggerpublic boolean isDebugEnabled()
isDebugEnabled in interface EcmSimpleLoggerpublic boolean isErrorEnabled()
isErrorEnabled in interface EcmSimpleLoggerpublic void setLoggingLevel(LoggingLevel level)
setLoggingLevel in interface EcmSimpleLoggerpublic void debug(java.lang.Throwable e)
debug in interface EcmSimpleLoggerpublic void info(java.lang.Throwable e)
info in interface EcmSimpleLoggerpublic void warning(java.lang.Throwable e)
warning in interface EcmSimpleLoggerpublic void error(java.lang.Throwable e)
error in interface EcmSimpleLogger