Package org.refcodes.logger
Interface LoggerFactory<L extends Logger<?>>
-
- Type Parameters:
L
- the generic type
- All Superinterfaces:
org.refcodes.factory.LookupFactory<L,java.lang.String>
- All Known Implementing Classes:
CompositeLoggerFactoryImpl
,CompositeQueryLoggerFactoryImpl
,CompositeTrimLoggerFactoryImpl
public interface LoggerFactory<L extends Logger<?>> extends org.refcodes.factory.LookupFactory<L,java.lang.String>
ALoggerFactory
defines the methods required to factorLogger
instances. You might also provide a static method with the following signature in order to provide singleton functionality and avoid to create too many unnecessaryLogger
instances:public
Logger
getInstance() { ... }