public class Logger<T extends Logger<T>> extends Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
String | 
category()
Specifies the category for the logger. 
 | 
T | 
category(String value)
Specifies the category for the logger. 
 | 
String | 
filterSpec()
A filter expression value to define a filter. 
 | 
T | 
filterSpec(String value)
A filter expression value to define a filter. 
 | 
String | 
getKey()  | 
T | 
handler(String value)
The handlers associated with the logger. 
 | 
List<String> | 
handlers()
The handlers associated with the logger. 
 | 
T | 
handlers(List<String> value)
The handlers associated with the logger. 
 | 
T | 
handlers(String... args)
The handlers associated with the logger. 
 | 
Level | 
level()
The log level specifying which message levels will be logged by the
 logger. 
 | 
T | 
level(Level value)
The log level specifying which message levels will be logged by the
 logger. 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
Boolean | 
useParentHandlers()
Specifies whether or not this logger should send its output to its parent
 Logger. 
 | 
T | 
useParentHandlers(Boolean value)
Specifies whether or not this logger should send its output to its parent
 Logger. 
 | 
public Logger(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String category()
public String filterSpec()
public T filterSpec(String value)
public Level level()
public T level(Level value)
public Boolean useParentHandlers()
Copyright © 2018 JBoss by Red Hat. All rights reserved.