Package org.teiid.logging
Interface Logger
-
- All Known Implementing Classes:
JavaLogger
public interface LoggerLogListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled(String context, int msgLevel)Is the logging for the given context at the specified message level enabled.voidlog(int level, String context, Object... msg)voidlog(int level, String context, Throwable t, Object... msg)voidputMdc(String key, String val)voidremoveMdc(String key)voidshutdown()Shut down this listener, requesting it clean up and release any resources it may have acquired during its use.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled(String context, int msgLevel)
Is the logging for the given context at the specified message level enabled.- Parameters:
context-msgLevel-- Returns:
-
shutdown
void shutdown()
Shut down this listener, requesting it clean up and release any resources it may have acquired during its use. The listener is free to ignore this request if it is not responsible for managing the resources it uses or if there are no resources.
-
removeMdc
void removeMdc(String key)
-
-