Class Log4j2Logging

java.lang.Object
ch.autumo.beetroot.logging.AbstractLogging
ch.autumo.beetroot.logging.Log4j2Logging
All Implemented Interfaces:
Logging

public class Log4j2Logging extends AbstractLogging
Log4j2 Logging initialization.
  • Constructor Details

    • Log4j2Logging

      public Log4j2Logging()
  • Method Details

    • initialize

      public void initialize(String path) throws IOException
      Description copied from interface: Logging
      Configure the logging framework specifically with a log configuration file. - Configuration name used: 'BeetRootConfig'
      Parameters:
      path - a path to the configuration
      Throws:
      IOException - IO exception
    • initialize

      public void initialize(String path, String name) throws IOException
      Description copied from interface: Logging
      Configure the logging framework specifically with a log configuration file.
      Parameters:
      path - a path to the configuration
      name - configuration name
      Throws:
      IOException - IO exception