Package com.redwood.scheduler.api.job
Interface JobLogger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelegate(Logger logger)Delegate all logging calls to the specified logger.voidsetAutoFlush(boolean newAutoFlush)Set autoflush flag.voidsetCategory(String newCategory)Set the category for this logger.voidsetLevel(Level newLevel)Set the level for this logger.
-
-
-
Method Detail
-
setCategory
void setCategory(String newCategory)
Set the category for this logger. Does not effect delegation.- Parameters:
newCategory- the category to use.
-
delegate
void delegate(Logger logger)
Delegate all logging calls to the specified logger. Does not otherwise effect this logger.- Parameters:
logger- the logger to delegate to.
-
setLevel
void setLevel(Level newLevel)
Set the level for this logger. Does not effect delegation.- Specified by:
setLevelin interfacecom.redwood.scheduler.infrastructure.logging.LoggerSetLevel- Parameters:
newLevel- the level to use.
-
setAutoFlush
void setAutoFlush(boolean newAutoFlush)
Set autoflush flag. The default is true for all versions with this method, false otherwise.- Parameters:
newAutoFlush- true to flush automatically, false otherwise.
-
-