| java.lang.Object org.apache.beehive.netui.util.logging.Logger
Logger | public class Logger implements Log(Code) | |
Logging abstraction for NetUI. This class leverages Jakarta commons-logging to create
loggers for NetUI messages. Application developers can provide their own logger
implementations by following the instructions for creating new Log / LogFactory instances
in commons-logging.
|
Constructor Summary | |
public | Logger(Class clientClass) Constructor that returns a Log4J logger. | public | Logger(String clientClassName) Constructor that returns a Log4J logger. |
getInstance | public static Logger getInstance(Class loggerClient)(Code) | | Factory method for creating NetUI Logger instances.
Parameters: loggerClient - the class whose logger to create a Logger instance for the given class |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | |
isErrorEnabled | public boolean isErrorEnabled()(Code) | | |
isFatalEnabled | public boolean isFatalEnabled()(Code) | | |
isInfoEnabled | public boolean isInfoEnabled()(Code) | | |
isTraceEnabled | public boolean isTraceEnabled()(Code) | | |
isWarnEnabled | public boolean isWarnEnabled()(Code) | | |
|
|