Interface JobLogger

  • All Superinterfaces:
    Logger, com.redwood.scheduler.infrastructure.logging.LoggerSetLevel

    public interface JobLogger
    extends Logger, com.redwood.scheduler.infrastructure.logging.LoggerSetLevel
    A logger for use in jobs.
    • 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:
        setLevel in interface com.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.