Package com.sshtools.common.logger
Class AbstractLoggingContext
- java.lang.Object
-
- com.sshtools.common.logger.AbstractLoggingContext
-
- All Implemented Interfaces:
LoggerContext
- Direct Known Subclasses:
ConsoleLoggingContext,FileLoggingContext
public abstract class AbstractLoggingContext extends java.lang.Object implements LoggerContext
-
-
Constructor Summary
Constructors Constructor Description AbstractLoggingContext()AbstractLoggingContext(Log.Level level)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Log.LevelgetLevel()booleanisLogging(Log.Level level)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sshtools.common.logger.LoggerContext
close, log, newline, raw
-
-
-
-
Constructor Detail
-
AbstractLoggingContext
public AbstractLoggingContext()
-
AbstractLoggingContext
public AbstractLoggingContext(Log.Level level)
-
-
Method Detail
-
isLogging
public boolean isLogging(Log.Level level)
- Specified by:
isLoggingin interfaceLoggerContext
-
getLevel
public Log.Level getLevel()
-
-