Package org.teiid.logging
Class JavaLogger
- java.lang.Object
-
- org.teiid.logging.JavaLogger
-
-
Constructor Summary
Constructors Constructor Description JavaLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LevelconvertLevel(int level)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
public boolean isEnabled(String context, int msgLevel)
Description copied from interface:LoggerIs the logging for the given context at the specified message level enabled.
-
convertLevel
public Level convertLevel(int level)
-
shutdown
public void shutdown()
Description copied from interface:LoggerShut 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.
-
-