public interface LoggerContext
| Modifier and Type | Method and Description |
|---|---|
Object |
getExternalContext()
An anchor for some other context, such as a ClassLoader or ServletContext.
|
ExtendedLogger |
getLogger(String name)
Returns an ExtendedLogger.
|
ExtendedLogger |
getLogger(String name,
MessageFactory messageFactory)
Returns an ExtendedLogger.
|
boolean |
hasLogger(String name)
Detects if a Logger with the specified name exists.
|
Object getExternalContext()
ExtendedLogger getLogger(String name)
name - The name of the Logger to return.ExtendedLogger getLogger(String name, MessageFactory messageFactory)
name - The name of the Logger to return.messageFactory - The message factory is used only when creating a logger, subsequent use does not change
the logger but will log a warning if mismatched.boolean hasLogger(String name)
name - The Logger name to search for.Copyright © 2006-2016 OPS4J - Open Participation Software for Java. All Rights Reserved.