Salome HOME
The draft of the "Copy from existing study" action is added. The YACS step is introdu...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / log / AppLogger.java
index ec9bbd3887b5f9ed70092b77aed23fd5f087db8c..d8952c4a08113d9322946416a3c905b7e714d752 100644 (file)
@@ -208,6 +208,33 @@ public class AppLogger {
                _logger.info(formatMessage(code, context), exception);
        }
 
+       /**
+        * Allows to check if INFO logging level is enabled.
+        * 
+        * @return <b>true</b> if INFO logging level is enabled and <b>false</b> otherwise 
+        */
+       public boolean isInfoEnabled() {
+               return _logger.isInfoEnabled();
+       }
+
+       /**
+        * Allows to check if ERROR logging level is enabled.
+        * 
+        * @return <b>true</b> if ERROR logging level is enabled and <b>false</b> otherwise 
+        */
+       public boolean isErrorEnabled() {
+               return _logger.isErrorEnabled();
+       }
+
+       /**
+        * Allows to check if WARN logging level is enabled.
+        * 
+        * @return <b>true</b> if WARN logging level is enabled and <b>false</b> otherwise 
+        */
+       public boolean isWarnEnabled() {
+               return _logger.isWarnEnabled();
+       }
+
        // Debug
 
        /**