Package com.netcracker.profiler.agent
Class ESCLogger
java.lang.Object
com.netcracker.profiler.agent.ESCLogger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcorruptedBufferWarning(String message) custom level that is DEBUG when dumper has never been initialized and WARN when dumper has been initialized at least once.voidcorruptedBufferWarning(String message, Throwable t) voidstatic ESCLoggerstatic ESCLoggerstatic ESCLoggerstatic ESCLoggervoidbooleanstatic booleanvoidvoidvoidreportDirtyBufferOverflow(String threadName) static voidsetCorruptedBufferCallback(Runnable callback) voidvoidvoid
-
Field Details
-
ESC_LOG_LEVEL
-
-
Constructor Details
-
ESCLogger
-
ESCLogger
-
-
Method Details
-
isJavaUtilLoggingEnabled
public static boolean isJavaUtilLoggingEnabled() -
getLogger
-
getLogger
-
getLogger
-
getLogger
-
severe
-
severe
-
info
-
fine
-
warning
-
corruptedBufferWarning
custom level that is DEBUG when dumper has never been initialized and WARN when dumper has been initialized at least once. Meaning that collector is present in the environment- Parameters:
message-
-
reportDirtyBufferOverflow
-
printDirtyBufferWarningInCaseOfOverflow
public void printDirtyBufferWarningInCaseOfOverflow() -
corruptedBufferWarning
-
setCorruptedBufferCallback
-
isFineEnabled
public boolean isFineEnabled() -
log
-