Apama Documentation : Developing Apama Applications : Developing EPL Plug-ins : Writing EPL Plug-ins in C++ : Creating a plug-in using C++ : Writing to the correlator log file
Writing to the correlator log file
The EPLPlugin base class provides a member called logger to plug-ins. This can be used to write messages to the correlator's log file.
Log messages are prefixed with the name of the plug-in provided to the base class constructor at construction time:
void logMessage(const char *msg) {
logger.info("Message is: %s", msg);
}
Documentation about the available functions and log levels can be found in the API Reference for C++ (Doxygen).
Copyright © 2013-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback