Class LiquibaseLog4j2Logger
java.lang.Object
liquibase.AbstractExtensibleObject
liquibase.logging.core.AbstractLogger
org.frankframework.jdbc.migration.LiquibaseLog4j2Logger
- All Implemented Interfaces:
AutoCloseable
,Cloneable
,liquibase.ExtensibleObject
,liquibase.logging.Logger
public class LiquibaseLog4j2Logger
extends liquibase.logging.core.AbstractLogger
It is important that we're wrapping the Log4j2 Logger and are directly calling logIfEnabled.
By calling a log method (
logger.warn(String)
) directly, it will affect the stack and thus the package.classname log-prefix.- Author:
- Niels Meijer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class liquibase.logging.core.AbstractLogger
filterMessage
Methods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface liquibase.ExtensibleObject
clone, describe, get, get, getAttributes, getObjectMetaData, getValuePath, has, set
Methods inherited from interface liquibase.logging.Logger
close
-
Constructor Details
-
LiquibaseLog4j2Logger
-
-
Method Details
-
log
-
severe
- Specified by:
severe
in interfaceliquibase.logging.Logger
- Overrides:
severe
in classliquibase.logging.core.AbstractLogger
-
severe
- Specified by:
severe
in interfaceliquibase.logging.Logger
- Overrides:
severe
in classliquibase.logging.core.AbstractLogger
-
warning
- Specified by:
warning
in interfaceliquibase.logging.Logger
- Overrides:
warning
in classliquibase.logging.core.AbstractLogger
-
warning
- Specified by:
warning
in interfaceliquibase.logging.Logger
- Overrides:
warning
in classliquibase.logging.core.AbstractLogger
-
info
- Specified by:
info
in interfaceliquibase.logging.Logger
- Overrides:
info
in classliquibase.logging.core.AbstractLogger
-
info
- Specified by:
info
in interfaceliquibase.logging.Logger
- Overrides:
info
in classliquibase.logging.core.AbstractLogger
-
config
- Specified by:
config
in interfaceliquibase.logging.Logger
- Overrides:
config
in classliquibase.logging.core.AbstractLogger
-
config
- Specified by:
config
in interfaceliquibase.logging.Logger
- Overrides:
config
in classliquibase.logging.core.AbstractLogger
-
debug
- Specified by:
debug
in interfaceliquibase.logging.Logger
- Overrides:
debug
in classliquibase.logging.core.AbstractLogger
-
debug
- Specified by:
debug
in interfaceliquibase.logging.Logger
- Overrides:
debug
in classliquibase.logging.core.AbstractLogger
-
fine
- Specified by:
fine
in interfaceliquibase.logging.Logger
- Overrides:
fine
in classliquibase.logging.core.AbstractLogger
-
fine
- Specified by:
fine
in interfaceliquibase.logging.Logger
- Overrides:
fine
in classliquibase.logging.core.AbstractLogger
-