Package ch.raffael.meldioc.logging.spi
Interface Adapter
- All Known Implementing Classes:
Adapter.Default,JulAdapter,Log4J2Adapter
public interface Adapter
An initializer that does some initialisation, checks and logging specific
to the SLF4J backend in use.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAdapter.Defaultstatic classAdapter.InitFlagstatic interfaceAdapter.InitLogger -
Method Summary
Modifier and Type Method Description java.lang.StringbackendClassName()The classname of the backend this class can handle.java.util.Set<Adapter.InitFlag>initialize(Adapter.InitLogger initLogger)Perform the init.voidshutdown()Shutdown the logging system.
-
Method Details
-
backendClassName
java.lang.String backendClassName()The classname of the backend this class can handle. -
initialize
Perform the init.- Parameters:
initLogger- A logger to log warnings to.- Returns:
- Hints on how to proceed.
-
shutdown
void shutdown()Shutdown the logging system.
-