public static interface ComponentsReporter.Reporter
Modifier and Type | Method and Description |
---|---|
void |
emitMessage(ComponentsReporter.LogLevel level,
String categoryKey,
String message)
Emit a message that can be logged or escalated by the logger implementation.
|
void |
emitMessage(ComponentsReporter.LogLevel level,
String categoryKey,
String message,
int samplingFrequency)
Emit a message that can be logged or escalated by the logger implementation.
|
void emitMessage(ComponentsReporter.LogLevel level, String categoryKey, String message)
level
- categoryKey
- Unique key for aggregating all occurrences of given error in error
aggregation systemsmessage
- Message to logvoid emitMessage(ComponentsReporter.LogLevel level, String categoryKey, String message, int samplingFrequency)
level
- categoryKey
- Unique key for aggregating all occurrences of given error in error
aggregation systemsmessage
- Message to logsamplingFrequency
- sampling frequency to override default one