|
Logback API Version 0.9.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Context
| Method Summary | |
|---|---|
String |
getName()
Contexts are named objects. |
Object |
getObject(String key)
A Context can act as a store for various objects used by LOGBack components. |
String |
getProperty(String key)
Get the property of this context. |
Map<String,String> |
getPropertyMap()
Get all the properties for this context as a Map. |
StatusManager |
getStatusManager()
|
void |
putObject(String key,
Object value)
Store an object under 'key'. |
void |
setName(String name)
The name of the context can be set only once. |
void |
setProperty(String key,
String value)
Set a property of this context. |
| Method Detail |
|---|
StatusManager getStatusManager()
Object getObject(String key)
void putObject(String key,
Object value)
key - value - Map<String,String> getPropertyMap()
String getProperty(String key)
void setProperty(String key,
String value)
String getName()
void setName(String name)
name -
|
Logback API Version 0.9.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||