Class Logger
- java.lang.Object
-
- net.sourceforge.jbizmo.commons.server.logging.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisDebugEnabled()static booleanisErrorEnabled()static booleanisInfoEnabled()static booleanisWarnEnabled()
-
-
-
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
-
-