Uses of Interface
org.refcodes.logger.Logger
-
-
Uses of Logger in org.refcodes.logger
Classes in org.refcodes.logger with type parameters of type Logger Modifier and Type Interface Description interface
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.Subinterfaces of Logger in org.refcodes.logger Modifier and Type Interface Description interface
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
.Classes in org.refcodes.logger that implement Logger Modifier and Type Class Description class
CompositeLoggerImpl<T>
TheCompositeLoggerImpl
is a ready to use implementation of a compositeLogger
extending theAbstractCompositeLogger
.class
CompositeQueryLoggerImpl<T>
TheCompositeQueryLoggerImpl
is a ready to use implementation of a compositeQueryLogger
extending theAbstractCompositeQueryLogger
.class
CompositeTrimLoggerImpl<T>
TheCompositeTrimLoggerImpl
is a ready to use implementation of a compositeTrimLogger
extending theAbstractCompositeTrimLogger
.class
PartedLoggerImpl<T,P extends T>
ThePartedLoggerImpl
is a ready to use implementation of a partedLogger
extending theAbstractPartedLogger
.class
PartedQueryLoggerImpl<T,P extends T>
ThePartedQueryLoggerImpl
is a ready to use implementation of a partedQueryLogger
extending theAbstractPartedQueryLogger
.class
PartedTrimLoggerImpl<T,P extends T>
ThePartedTrimLoggerImpl
is a ready to use implementation of a partedTrimLogger
extending theAbstractPartedTrimLogger
.class
SystemLogger
Very plain implementation of the logger interface, mainly used as fallbackLogger
.Methods in org.refcodes.logger that return Logger Modifier and Type Method Description protected Logger<T>
CompositeLoggerFactoryImpl. createCompositeLogger(Logger<T>[] aLoggers)
To be implemented by sub-classes, this method creates aCompositeLoggerImpl
(or its sub-classes) from the providedLogger
instances (or its sub-types).Logger<Object>
RuntimeLoggerImpl. getLogger()
Retrieves the logger from the logger property.Methods in org.refcodes.logger with parameters of type Logger Modifier and Type Method Description protected Logger<T>
CompositeLoggerFactoryImpl. createCompositeLogger(Logger<T>[] aLoggers)
To be implemented by sub-classes, this method creates aCompositeLoggerImpl
(or its sub-classes) from the providedLogger
instances (or its sub-types).void
RuntimeLoggerImpl. setLogger(Logger<Object> aLogger)
Sets the logger for the logger property.Constructors in org.refcodes.logger with parameters of type Logger Constructor Description CompositeLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, Logger<T>... aLoggers)
Similar to theCompositeLoggerImpl(Logger...)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofCompositeComponent
).CompositeLoggerImpl(Logger<T>... aLoggers)
Instantiates a new composite logger impl.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).Constructor parameters in org.refcodes.logger with type arguments of type Logger Constructor Description CompositeLoggerFactoryImpl(LoggerFactory<Logger<T>> aLoggerFactory, int aNumEndpoints)
Instantiates a new composite logger factory impl.PartedLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
Similar to thePartedLoggerImpl(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofCompositeComponent
).PartedLoggerImpl(org.refcodes.controlflow.ExecutionStrategy aComponentExecutionStrategy, org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
Similar to thePartedLoggerImpl(Column, LoggerFactory, boolean)
with the additional option of determining the execution strategy of the state change request calls for the encapsulatedLogger
instances (as ofCompositeComponent
).PartedLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn, String aDefaultLoggerName, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
Instantiates a new parted logger impl.PartedLoggerImpl(org.refcodes.tabular.Column<P> aPartitionColumn, LoggerFactory<Logger<T>> aLoggerFactory, boolean isPartitionAutoInitialize)
Instantiates a new parted logger impl.
-