Uses of Interface
org.refcodes.logger.Logger
-
Uses of Logger in org.refcodes.logger
Modifier and TypeInterfaceDescriptioninterface
LoggerAccessor<L extends Logger<?>>
Provides an accessor for aLogger
property.static interface
LoggerAccessor.LoggerMutator<L extends Logger<?>>
Provides a mutator for aLogger
property.static interface
LoggerAccessor.LoggerProperty<L extends Logger<?>>
Provides aLogger
property.interface
LoggerFactory<L extends Logger<?>>
ALoggerFactory
defines the methods required to factorLogger
instances.Modifier and TypeInterfaceDescriptioninterface
QueryLogger<T>
TheQueryLogger
extends theLogger
; providing additional functionality for querying once logged dataRecords
by specifying queryCriteria
or other query restrictions.interface
TrimLogger<T>
TheTrimLogger
extends theQueryLogger
with the functionality to removeRecord
instances previously being logged by providing the accordingCriteria
.Modifier and TypeClassDescriptionclass
TheLoggerComposite
is a ready to use implementation of a compositeLogger
extending theAbstractLoggerComposite
.class
PartedLogger<T,
P extends T> ThePartedLogger
is a ready to use implementation of a partedLogger
extending theAbstractPartedLogger
.class
PartedQueryLogger<T,
P extends T> ThePartedQueryLogger
is a ready to use implementation of a partedQueryLogger
extending theAbstractPartedQueryLogger
.class
PartedTrimLogger<T,
P extends T> ThePartedTrimLogger
is a ready to use implementation of a partedTrimLogger
extending theAbstractPartedTrimLogger
.class
TheQueryLoggerComposite
is a ready to use implementation of a compositeQueryLogger
extending theAbstractQueryLoggerComposite
.class
Very plain implementation of the logger interface, mainly used as fallbackLogger
.class
TheTrimLoggerComposite
is a ready to use implementation of a compositeTrimLogger
extending theAbstractTrimLoggerComposite
.Modifier and TypeMethodDescriptionLoggerFactoryComposite.createCompositeLogger
(Logger<T>[] aLoggers) To be implemented by sub-classes, this method creates aLoggerComposite
(or its sub-classes) from the providedLogger
instances (or its sub-types).RuntimeLoggerImpl.getLogger()
Retrieves the logger from the logger property.Modifier and TypeMethodDescriptionLoggerFactoryComposite.createCompositeLogger
(Logger<T>[] aLoggers) To be implemented by sub-classes, this method creates aLoggerComposite
(or its sub-classes) from the providedLogger
instances (or its sub-types).void
Sets the logger for the logger property.ModifierConstructorDescriptionLoggerComposite
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, Logger<T>... aLoggers) Similar to theLoggerComposite(Logger...)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofComponentComposite
).LoggerComposite
(Logger<T>... aLoggers) Instantiates a newLoggerComposite
composed of the providedLogger
instances.RuntimeLoggerImpl
(String aName, Logger<Object> aLogger) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givenLogPriority.getPriority()
and higher).RuntimeLoggerImpl
(String aName, Logger<Object> aLogger, LogPriority aPriority) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givenLogPriority.getPriority()
and higher).RuntimeLoggerImpl
(Logger<Object> aLogger) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givenLogPriority.getPriority()
and higher).RuntimeLoggerImpl
(Logger<Object> aLogger, LogPriority aPriority) Constructs aRuntimeLogger
logging with the givenLogger
and the desiredLogPriority
for the messages being logged and upwards (from the givenLogPriority.getPriority()
and higher).ModifierConstructorDescriptionLoggerFactoryComposite
(LoggerFactory<Logger<T>> aLoggerFactory, int aNumEndpoints) Instantiates a new composite logger factory impl.PartedLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedLogger(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofComponentComposite
).PartedLogger
(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Similar to thePartedLogger(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofComponentComposite
).PartedLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedLogger
with the according parameters.PartedLogger
(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize) Instantiates a newPartedLogger
with the according parameters.