Uses of Class
org.djutils.logger.CategoryLogger.DelegateLogger
| Package | Description |
|---|---|
| org.djutils.logger |
Classes to assist in logging.
|
-
Uses of CategoryLogger.DelegateLogger in org.djutils.logger
Fields in org.djutils.logger declared as CategoryLogger.DelegateLogger Modifier and Type Field Description static CategoryLogger.DelegateLoggerCategoryLogger. DELEGATE_LOGGERThe delegate logger instance that does the actual logging work, after a positive filter outcome.static CategoryLogger.DelegateLoggerCategoryLogger. NO_LOGGERThe delegate logger that returns immediately after a negative filter outcome.Methods in org.djutils.logger that return CategoryLogger.DelegateLogger Modifier and Type Method Description static CategoryLogger.DelegateLoggerCategoryLogger. always()The "pass" filter that will result in always trying to log.static CategoryLogger.DelegateLoggerCategoryLogger. filter(Set<LogCategory> logCategories)Check whether the provided categories contain one or more categories that need to be logged.static CategoryLogger.DelegateLoggerCategoryLogger. filter(LogCategory logCategory)Check whether the provided category needs to be logged.static CategoryLogger.DelegateLoggerCategoryLogger. filter(LogCategory... logCategories)Check whether the provided categories contain one or more categories that need to be logged.CategoryLogger.DelegateLoggerCategoryLogger.DelegateLogger. when(boolean condition)The conditional filter that will result in the usage of a DelegateLogger.CategoryLogger.DelegateLoggerCategoryLogger.DelegateLogger. when(BooleanSupplier supplier)The conditional filter that will result in the usage of a DelegateLogger.static CategoryLogger.DelegateLoggerCategoryLogger. when(boolean condition)The conditional filter that will result in the usage of a DelegateLogger.static CategoryLogger.DelegateLoggerCategoryLogger. when(BooleanSupplier supplier)The conditional filter that will result in the usage of a DelegateLogger.