Developing Apama Applications > Apama EPL Reference > Statements > Simple statements > The print statement
The print statement
The print statement writes textual messages followed by a newline to the correlator’s standard output stream — stdout. The Expression result must be of type string.
PrintStatement
Example
For example:
print "Your message here.";
This EPL statement produces output that looks like this:
Your message here.
The print statement is less useful for reporting diagnostic information than the log statement, as it does not contain any information about the time or origin of the message, and cannot be turned off by changing the log level.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.