public interface LoggingContext
Modifier and Type | Method and Description |
---|---|
long |
get(String key,
long defaultValue)
Get a long value, returning the default value if the value is missing or not a long.
|
String |
get(String key,
String defaultValue)
Get a string value, returning the default value if the value is missing.
|
void |
put(String key,
long value)
Put a key/value pair into the logging context, replacing an entry with the same key.
|
void |
put(String key,
String value)
Put a key/value pair into the logging context, replacing an entry with the same key.
|
void put(String key, String value)
key
- value
- void put(String key, long value)
key
- value
- String get(String key, String defaultValue)
key
- defaultValue
- long get(String key, long defaultValue)
key
- defaultValue
- Copyright © 2017. All rights reserved.