public class ControlLoggerContext extends Object
It uses a single loggerMap where the key is the logger name and the value is the logger.
This approach acts a lower limit for what is achievable for low memory usage as well as low creation/retrieval times. However, this simplicity also results in slow effective level evaluation, the most frequently exercised part of the API.
This class is expected to contain correct results, and serve to verify the correctness of a more sophisticated implementation.
Constructor and Description |
---|
ControlLoggerContext() |
Modifier and Type | Method and Description |
---|---|
ControlLogger |
exists(String name) |
ControlLogger |
getLogger(String name) |
Map<String,ControlLogger> |
getLoggerMap() |
ControlLogger |
getRootLogger()
Return this contexts root logger
|
public ControlLoggerContext()
public ControlLogger getRootLogger()
public ControlLogger exists(String name)
public final ControlLogger getLogger(String name)
public Map<String,ControlLogger> getLoggerMap()
Copyright © 2005–2018 QOS.ch. All rights reserved.