Constructor and Description |
---|
NoOpLogger() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggable(Class<?> clazz,
Log.Level level)
Always returns
false because there nothing to do. |
void |
log(Class<?> clazz,
StackTraceElement method,
Log.Level level,
String message,
Throwable ex)
Log given the class, level, message, and exception.
|
void |
log(Class<?> clazz,
String methodName,
Log.Level level,
String message,
Throwable ex)
Logs nothing.
|
boolean |
needToInferCaller(Class<?> clazz,
Log.Level level)
Determines if
Log need to infer caller based on Class and Level. |
public void log(Class<?> clazz, String methodName, Log.Level level, String message, Throwable ex)
public void log(Class<?> clazz, StackTraceElement method, Log.Level level, String message, Throwable ex)
LogSpi
public boolean isLoggable(Class<?> clazz, Log.Level level)
false
because there nothing to do.isLoggable
in interface LogSpi
Copyright © 2019. All rights reserved.