Package org.cyclos.impl.logging
Class NoOpLogProvider
- java.lang.Object
-
- org.cyclos.impl.logging.NoOpLogProvider
-
- All Implemented Interfaces:
ApplicationInitializationListener,CustomBean,LogProvider
public class NoOpLogProvider extends Object implements LogProvider
Don't generate any log
-
-
Field Summary
-
Fields inherited from interface org.cyclos.impl.ApplicationInitializationListener
MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description NoOpLogProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDetails()Implementations can return information about where is logging, etc.voidinvalidateLoggers(String network)Invalidate loggers for this network.voidlog(LogConfiguration config, BaseLogParams params)Generate a log.voidonApplicationInitialization()Invoked when the application service is initialized-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.ApplicationInitializationListener
getInitializationId
-
Methods inherited from interface org.cyclos.impl.logging.LogProvider
applicationInitializationPriority
-
-
-
-
Method Detail
-
getDetails
public String getDetails()
Description copied from interface:LogProviderImplementations can return information about where is logging, etc.- Specified by:
getDetailsin interfaceLogProvider
-
invalidateLoggers
public void invalidateLoggers(String network)
Description copied from interface:LogProviderInvalidate loggers for this network. May be no-op, according to the implementation.- Specified by:
invalidateLoggersin interfaceLogProvider
-
log
public void log(LogConfiguration config, BaseLogParams params)
Description copied from interface:LogProviderGenerate a log. Implementations should handle each possible subclass ofBaseLogParams:ServiceLogParams: a service method callTaskLogParams: a background task execution
- Specified by:
login interfaceLogProvider
-
onApplicationInitialization
public void onApplicationInitialization()
Description copied from interface:ApplicationInitializationListenerInvoked when the application service is initialized- Specified by:
onApplicationInitializationin interfaceApplicationInitializationListener
-
-