Class LogManager

java.lang.Object
at.hobex.pos.logger.LogManager

public class LogManager extends Object
This class offers the possibility to set and get the desired logger. If no logger is set, log4j is used by default. In this case please provide and reference the log4j jar in the project. Also to configure the log4j it is necessary to provide the log4j.properties file in the classpath.
Since:
1.4
Author:
Nicolai Rechberger
See Also:
  • Method Details

    • getLogger

      public static ILogger getLogger()
      To get the logger. If no logger was set before, a log4j logger is used by default.
      Returns:
      ILogger Returns the logger
    • setLogger

      public static void setLogger(ILogger logger)
      To set the logger.
      Parameters:
      logger - The own implementation of the logger.