public class LoggingPreferences extends Object
Constructor and Description |
---|
LoggingPreferences() |
Modifier and Type | Method and Description |
---|---|
LoggingPreferences |
addPreferences(LoggingPreferences prefs)
Adds the given logging preferences giving them precedence over existing
preferences.
|
void |
enable(String logType,
Level level)
Enables logging for the given log type at the specified level and above.
|
Set<String> |
getEnabledLogTypes() |
Level |
getLevel(String logType) |
public void enable(String logType, Level level)
public Set<String> getEnabledLogTypes()
public LoggingPreferences addPreferences(LoggingPreferences prefs)
prefs
- The logging preferences to add.Copyright © 2013. All Rights Reserved.