public final class Log4jTools extends Object
| Modifier | Constructor and Description | 
|---|---|
| private  | Log4jTools() | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | enableLogging()Attempts to enable SLF4J logging via log4j
 without an external configuration file. | 
| static boolean | isEnabled()Checks whether the log4j framework was successfully enabled | 
| static void | setRootLevel(String level)Sets the level of the root logger | 
public static boolean isEnabled()
true if logging was successfully enabledpublic static void setRootLevel(String level)
level - A string indicating the desired level
   (i.e.: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN).public static boolean enableLogging()
true if logging was successfully enabledCopyright © 2016 Open Microscopy Environment