-
- All Implemented Interfaces:
public class TimeSeriesLogger
-
-
Method Summary
Modifier and Type Method Description static TimeSeriesLoggergetTimeSeriesLogger(Class<out Object> clazz)Create a logger for the specified class. booleanisTraceEnabled()Check if a message with a TRACE level would actually be logged by this logger. booleanisWarnEnabled()Check if a message with a WARNING level would actually be logged by this logger. booleanisInfoEnabled()Check if a message with a INFO level would actually be logged by this logger. voidtrace(Map<String, Object> point)Traces a DiagnosticContext.TimeSeriesPoint. voidwarn(Map<String, Object> point)Logs a DiagnosticContext.TimeSeriesPoint in WARNING level. voidinfo(Map<String, Object> point)Logs a DiagnosticContext.TimeSeriesPoint in INFO level. -
-
Method Detail
-
getTimeSeriesLogger
static TimeSeriesLogger getTimeSeriesLogger(Class<out Object> clazz)
Create a logger for the specified class.
- Parameters:
clazz- The class for which to create a logger.
-
isTraceEnabled
boolean isTraceEnabled()
Check if a message with a TRACE level would actually be logged by this logger.
-
isWarnEnabled
boolean isWarnEnabled()
Check if a message with a WARNING level would actually be logged by this logger.
-
isInfoEnabled
boolean isInfoEnabled()
Check if a message with a INFO level would actually be logged by this logger.
-
trace
void trace(Map<String, Object> point)
Traces a DiagnosticContext.TimeSeriesPoint.
- Parameters:
point- the point to trace.
-
warn
void warn(Map<String, Object> point)
Logs a DiagnosticContext.TimeSeriesPoint in WARNING level.
- Parameters:
point- the point to log.
-
info
void info(Map<String, Object> point)
Logs a DiagnosticContext.TimeSeriesPoint in INFO level.
- Parameters:
point- the point to log.
-
-
-
-