public interface LogListener
LogProcessor
and
CamelLogProcessor
so that the logging events are delivered for both of Log Component and Log EIP.Modifier and Type | Method and Description |
---|---|
String |
onLog(Exchange exchange,
CamelLogger camelLogger,
String message)
Invoked right before Log component or Log EIP logs.
|
String onLog(Exchange exchange, CamelLogger camelLogger, String message)
CamelLogger
holds the LoggingLevel
and Marker
.
The listener can check CamelLogger.getLevel()
to see in which log level
this is going to be logged.exchange
- camel exchangecamelLogger
- CamelLogger
message
- log messageApache Camel