Class CsvLoggerManager

    • Constructor Detail

      • CsvLoggerManager

        public CsvLoggerManager​(boolean keepHandler,
                                boolean debugLogging)
        Creates a new LoggerManager providing a CSVFormatter if appropriate.
        Parameters:
        keepHandler - Whether to keep already registered log handlers. Otherwise all registered log handlers will be removed.
        debugLogging - Whether debug logging should be enabled, that is, all log messages before initialising the logging will be printed to console.
    • Method Detail

      • createFormatter

        protected Formatter createFormatter​(boolean csvMode)
        Description copied from class: LoggerManager
        Creates a formatter for a logger.
        Specified by:
        createFormatter in class LoggerManager
        Parameters:
        csvMode - Whether the formatter is for a CSV log with additional AristaFlow-specific information when logging.
        Returns:
        A formatter for a logger.
        See Also:
        CSVFormatter