public class ConsoleAccessLogSetting<T extends ConsoleAccessLogSetting<T>> extends Object
Constructor and Description |
---|
ConsoleAccessLogSetting() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
attribute(String key,
Object value)
The attributes to be included in the structured output.
|
Map |
attributes()
The attributes to be included in the structured output.
|
T |
attributes(Map value)
The attributes to be included in the structured output.
|
String |
getKey() |
Boolean |
includeHostName()
Indicates whether or not the host name should included in the JSON
structured output.
|
T |
includeHostName(Boolean value)
Indicates whether or not the host name should included in the JSON
structured output.
|
Map |
metadata()
Any additional metadata to add to the JSON structured output.
|
T |
metadata(Map value)
Any additional metadata to add to the JSON structured output.
|
T |
metadatum(String key,
Object value)
Any additional metadata to add to the JSON structured output.
|
String |
predicate()
Predicate that determines if the request should be logged.
|
T |
predicate(String value)
Predicate that determines if the request should be logged.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
worker()
Name of the worker to use for logging.
|
T |
worker(String value)
Name of the worker to use for logging.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Map attributes()
public T attribute(String key, Object value)
public Boolean includeHostName()
public T includeHostName(Boolean value)
public Map metadata()
public T metadatum(String key, Object value)
public String predicate()
public T predicate(String value)
public String worker()
Copyright © 2020 JBoss by Red Hat. All rights reserved.