
public class LogManagerHelper extends Object
| Constructor and Description |
|---|
LogManagerHelper() |
public static Level getLevelProperty(LogManager manager, String name, Level defaultValue)
LogManager.getLevelProperty(String,
java.util.logging.Level).
If the property is not defined or cannot be parsed we return the given default value.
public static Filter getFilterProperty(LogManager manager, String name, Filter defaultValue)
LogManager.getFilterProperty(String,
java.util.logging.Filter).
We return an instance of the class named by the "name" property.
If the property is not defined or has problems we return the defaultValue.
public static Formatter getFormatterProperty(LogManager manager, String name, Formatter defaultValue)
LogManager.getFormatterProperty(String,
java.util.logging.Formatter) .
We return an instance of the class named by the "name" property.
If the property is not defined or has problems we return the defaultValue.
public static String getStringProperty(LogManager manager, String name, String defaultValue)
LogManager.getStringProperty(String, String).
If the property is not defined we return the given default value.
public static int getIntProperty(LogManager manager, String name, int defaultValue)
LogManager.getIntProperty(String, int).
Method to get an integer property.
If the property is not defined or cannot be parsed we return the given default value.
public static boolean getBooleanProperty(LogManager manager, String name, boolean defaultValue)
LogManager.getIntProperty(String, int).
Method to get a boolean property.
If the property is not defined or cannot be parsed we return the given default value.
Copyright © 2009–2025 OrientDB. All rights reserved.