Class Logger


  • public class Logger
    extends Object

    Utility class that reads the logging level from the application.properties file

    Copyright 2010 (C) by Martin Ganserer

    Version:
    1.0.0
    Author:
    Martin Ganserer
    • Method Detail

      • isDebugEnabled

        public static boolean isDebugEnabled()
        Returns:
        true if the log level is 'DEBUG'
      • isInfoEnabled

        public static boolean isInfoEnabled()
        Returns:
        true if the log level is 'INFO'
      • isWarnEnabled

        public static boolean isWarnEnabled()
        Returns:
        true if the log level is 'WARN'
      • isErrorEnabled

        public static boolean isErrorEnabled()
        Returns:
        true if the application should log errors only