org.objectweb.util.monolog.api

Interface Loggable

public interface Loggable

Author:
S.Chassande-Barrioz

Method Summary

Logger
getLogger()
Retrieves the logger instance used
LoggerFactory
getLoggerFactory()
Retrieves the logger factory instance used
void
setLogger(Logger logger)
Assigns the logger instance to use
void
setLoggerFactory(LoggerFactory lf)
Assigns the logger factory instance to use

Method Details

getLogger

public Logger getLogger()
Retrieves the logger instance used


getLoggerFactory

public LoggerFactory getLoggerFactory()
Retrieves the logger factory instance used


setLogger

public void setLogger(Logger logger)
Assigns the logger instance to use


setLoggerFactory

public void setLoggerFactory(LoggerFactory lf)
Assigns the logger factory instance to use