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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.