CompositeLoggerImpl
uses the composite
pattern to forward logger functionality to a number encapsulated logger
instances.AbstractCompositeLogger
from the provided
Logger
instances.AbstractCompositeLogger
from the provided
Logger
instances.AbstractCompositeLoggerFactory
is a LoggerFactory
which
creates composite Logger
instances, which themselves encapsulate
Logger
instances.AbstractCompositeLoggerFactory
specifying the number
of Logger
instances to be encapsulated by the created composites
to when invoking the methods AbstractCompositeLoggerFactory.createInstance(String)
or
AbstractCompositeLoggerFactory.createInstance(String, Properties)
.CompositeQueryLoggerImpl
extends the
CompositeLoggerImpl
with the query logger
functionality.AbstractCompositeQueryLogger
from the provided
Logger
instances.CompositeTrimLoggerImpl
extends the
CompositeQueryLoggerImpl
with the trim
logger functionality.AbstractCompositeTrimLogger
from the provided
Logger
instances.PartedLoggerImpl
is a partitioning logger
which encapsulates Logger
instances or
CompositeLoggerImpl
instances (or sub-classes of
it) representing partitions.AbstractPartedLogger
, a partitioning
Logger
.#AbstractPartedLogger(Column, LoggerToRuntimeLoggerFactory, boolean)
with the difference that a fallback Logger
is being supported
when no partition can be determined for an operationAbstractPartedQueryLogger
extends the
AbstractPartedLogger
with the functionality of a QueryLogger
.AbstractPartedTrimLogger
extends the
AbstractPartedQueryLogger
with the functionality of a
TrimLogger
.LogPriority.ALERT
.LogPriority.ALERT
.LogPriority.ALERT
.LogPriority.ALERT
.TrimLogger
instances to clear
the provided TrimLogger
instances (multi-threaded).AbstractCompositeLoggerFactory
creating composite Logger
instances.CompositeLoggerImpl
is a ready to use implementation of a
composite Logger
extending the AbstractCompositeLogger
.CompositeLoggerImpl.CompositeLoggerImpl(Logger...)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated Logger
instances (as of
CompositeComponent
).AbstractCompositeLoggerFactory
creating composite QueryLogger
instances.CompositeQueryLoggerImpl
is a ready to use implementation of a
composite QueryLogger
extending the
AbstractCompositeQueryLogger
.CompositeQueryLoggerImpl.CompositeQueryLoggerImpl(QueryLogger...)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated QueryLogger
instances
(as of CompositeComponent
).AbstractCompositeLoggerFactory
creating composite TrimLogger
instances.CompositeTrimLoggerImpl
is a ready to use implementation of a
composite TrimLogger
extending the
AbstractCompositeTrimLogger
.CompositeTrimLoggerImpl.CompositeTrimLoggerImpl(TrimLogger...)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated TrimLogger
instances
(as of CompositeComponent
).CompositeLoggerImpl
(or its sub-classes) from the provided
Logger
instances (or its sub-types).Logger
containing Logger
instances
fabricated by the provided LoggerFactory
(as passed to the
constructor).Logger
containing Logger
instances
fabricated by the provided LoggerFactory
(as passed to the
constructor).RuntimeLoggerConsts.RUNTIME_LOGGER_CONFIG
XML file.RuntimeLoggerFactorySingleton.getInstance()
RuntimeLoggerFactorySingleton.getInstance()
RuntimeLoggerFactorySingleton.getInstance()
RuntimeLoggerFactorySingleton.getInstance()
LogPriority.CRITICAL
.LogPriority.CRITICAL
.LogPriority.CRITICAL
.LogPriority.CRITICAL
.LogPriority.DEBUG
.LogPriority.DEBUG
.TrimLogger
instances with the
same query to delete log lines from the provided TrimLogger
instances (multi-threaded).Record
instances according to the provided
Criteria
.LogPriority.ERROR
.LogPriority.ERROR
.LogPriority.ERROR
.LogPriority.ERROR
.QueryLogger
instances with the
same query and returning a single composite Records
instance
containing all Record
instances returned by the queried
QueryLogger
instances (multi-threaded).Record
instances being logged.Record
instances being logged matching
the given criteria and restrictions.Record
instances being logged matching
the given criteria and restrictions.Record
instances being logged matching
the given criteria and restrictions.Record
instances being logged matching
the given criteria and restrictions.Record
instances being logged matching
the given criteria and restrictions.Record
instances being logged matching
the given criteria and restrictions.RuntimeLogger
from the referenced configuration
file (usually "runtimelogger-config.xml") which's declaration is
identified in the configuration XML structure at the given element path.Logger
.RuntimeLoggerFactorySingleton
.RuntimeLoggerSingleton
.LoggerFactory
which to use in order to create the
encapsulated Logger
instances contained in the composite
Logger
instances created by the AbstractCompositeLoggerFactory.createInstance(String)
or AbstractCompositeLoggerFactory.createInstance(String, Properties)
methods.AbstractPartedLogger
.LogPriority
from the LogPriorityAccessor
.Column
used to identify partitions.Logger
being responsible for the given partition.Logger
instances managing the
provided partitions.Logger
being part of a
composite Logger
(or its sub-types) and which is being created by
a LoggerFactory
.Logger
being part of a
parted Logger
(or its sub-types) and which is being created by a
LoggerFactory
.Column
instances to be contained in the
provided Record.LogPriority.INFO
.LogPriority.INFO
.RuntimeLogger
is being configured to log
messages of the according LogPriority
.RuntimeLogger
is being configured to log
fatal messages (LogPriority.ALERT
).RuntimeLogger
is being configured to log
fatal messages (LogPriority.CRITICAL
).RuntimeLogger
is being configured to log
debug messages (LogPriority.DEBUG
).RuntimeLogger
is being configured to log
errors (LogPriority.ERROR
).RuntimeLogger
is being configured to log
infos (LogPriority.INFO
).RuntimeLogger
is being configured to log
notices (LogPriority.NOTICE
).RuntimeLogger
is being configured to log
fatal messages (LogPriority.PANIC
).RuntimeLogger
is being configured to log
comments (LogPriority.TRACE
).RuntimeLogger
is being configured to log
warnings (LogPriority.WARN
).Record
.Logger
interface defines those methods required for an atomic
(sub-)logger to implement.Logger
property.Logger
property.Logger
property.LoggerFactory
defines the methods required to factor Logger
instances.Header
.Logger
(RuntimeLogger
) failed,
e.g. the RuntimeLoggerSingleton
tries to construct a
RuntimeLogger
from a bean configuration file (or a
SpringRuntimeLoggerSingleton tries to construct a RuntimeLogger
from
a bean configuration context file) and fails doing so (due to missing or
"wrong" configuration file).LogPriority
property.LogPriority
property.LogPriority
property.LogPriorityColumnImpl
managing String
instances.RuntimeLogger
.MethodNameColumnImpl
managing String
instances.LogPriority.NOTICE
.LogPriority.NOTICE
.impls
package contains implementations of the types defined
by this artifact.LogPriority.PANIC
.LogPriority.PANIC
.LogPriority.PANIC
.LogPriority.PANIC
.PartedLoggerImpl
is a ready to use implementation of a parted
Logger
extending the AbstractPartedLogger
.#PartedLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated Logger
instances
(as of CompositeComponent
).#PartedLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean)
with
the additional option of determining the execution strategy of the state
change request calls for the encapsulated Logger
instances (as of
CompositeComponent
).PartedQueryLoggerImpl
is a ready to use implementation of a
parted QueryLogger
extending the AbstractPartedQueryLogger
.#PartedQueryLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated QueryLogger
instances
(as of CompositeComponent
).#PartedQueryLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated QueryLogger
instances (as of CompositeComponent
).PartedTrimLoggerImpl
is a ready to use implementation of a parted
TrimLogger
extending the AbstractPartedTrimLogger
.#PartedTrimLoggerImpl(Column, LoggerToRuntimeLoggerFactory, boolean)
with the
additional option of determining the execution strategy of the state
change request calls for the encapsulated TrimLogger
instances
(as of CompositeComponent
).#PartedTrimLoggerImpl(Column, String, LoggerToRuntimeLoggerFactory, boolean)
with the additional option of determining the execution strategy of the
state change request calls for the encapsulated TrimLogger
instances (as of CompositeComponent
).QueryLogger
extends the Logger
; providing additional
functionality for querying once logged data Records
by specifying
query Criteria
or other query restrictions.RuntimeLogger
property.RuntimeLogger
property.RuntimeLogger
property.RuntimeLoggerFactory
defines the methods required to factor
RuntimeLogger
instances.RuntimeLoggerFactoryImpl
by providing a
"runtimelogger-config.xml" file in one of those locations relative to your
main class's location:
.RuntimeLoggerFactoryImpl
for easy
RuntimeLogger
creation.RuntimeLogger
interface to be
configured with a (back-end) Logger
.RuntimeLogger
logging with the given Logger
and the desired LogPriority
for the messages being logged and
upwards (from the given LogPriority.getPriority()
and higher).RuntimeLogger
logging with the given Logger
and the desired LogPriority
for the messages being logged and
upwards (from the given LogPriority.getPriority()
and higher).RuntimeLogger
logging with the given Logger
and the desired LogPriority
for the messages being logged and
upwards (from the given LogPriority.getPriority()
and higher).RuntimeLogger
logging with the given Logger
and the desired LogPriority
for the messages being logged and
upwards (from the given LogPriority.getPriority()
and higher).RuntimeLogger
logging with the given Logger
and the desired LogPriority
for the messages being logged and
upwards (from the given LogPriority.getPriority()
and higher).RuntimeLoggerSingleton
provides a RuntimeLogger
singleton configured by a "runtimelogger-conf.xml" file find in one of the
several locations relative to your application's base directory:
The applications base directory (where your JAR or your classes reside) is
taken and a list of directories relative to this base directory is generated
as defined in the RuntimeConsts.CONFIG_DIR_NAMES
: The actual
directories being looked at (in case them exist) are as follows, relative to
your applications base directory:
..RuntimeLogger
type.LogPriority
for the LogPriorityAccessor
.RuntimeLoggerImpl.setLogPriority(LogPriority)
with the difference, that
a String
is passed instead of a LogPriority
element.Logger
.LogPriority.TRACE
.LogPriority.TRACE
.TrimLogger
extends the QueryLogger
with the functionality
to remove Record
instances previously being logged by providing the
according Criteria
.LogPriority.WARN
.LogPriority.WARN
.LogPriority.WARN
.LogPriority.WARN
.Copyright © 2016. All rights reserved.