| java.lang.Object org.apache.cocoon.components.slide.impl.SlideLoggerAdapter
SlideLoggerAdapter | public class SlideLoggerAdapter implements org.apache.slide.util.logger.Logger(Code) | | The class represent an adapter for the logger for jakarta slide
version: CVS $Id: SlideLoggerAdapter.java 433543 2006-08-22 06:22:54Z crossley $ |
SlideLoggerAdapter | public SlideLoggerAdapter(Logger logger)(Code) | | |
getLoggerLevel | public int getLoggerLevel()(Code) | | Get the logger level for the default channel
logger level |
getLoggerLevel | public int getLoggerLevel(String channel)(Code) | | Get the logger level for the specified channel
Parameters: channel - the channel logger level |
isEnabled | public boolean isEnabled(String channel, int level)(Code) | | Check if the channel with the specified level is enabled for logging.
Parameters: channel - The channel specification Parameters: level - The level specification |
isEnabled | public boolean isEnabled(int level)(Code) | | Check if the default channel with the specified level is enabled for logging.
Parameters: level - The level specification |
log | public void log(Object data, String channel, int level)(Code) | | Log an object thru the specified channel and with the specified level.
Parameters: data - The object to log. Parameters: channel - The channel name used for logging. Parameters: level - The level used for logging. |
log | public void log(Object data, int level)(Code) | | Log an object with the specified level.
Parameters: data - The object to log. Parameters: level - The level used for logging. |
log | public void log(Object data)(Code) | | Log an object.
Parameters: data - The object to log. |
setLoggerLevel | public void setLoggerLevel(int level)(Code) | | Set the logger level for the default channel
Parameters: level - the logger level |
setLoggerLevel | public void setLoggerLevel(String channel, int level)(Code) | | Set the logger level for the specified channel
Parameters: channel - Parameters: level - the logger level |
|
|