Top  Previous  Next

Scripts > Class elements and c++ instructions > Interpreted C++ instructions > Output > log


Similar, as an output can be directed to out, you also can direct an output to log. But while the first output is appended to the target text, the second will appear in the log window. This output can provide Meta information about the course of a program and can help to search possible faults.




log << "value: " << xs;


If the parser will be exported as c++ code, the log commands will not be written, if you havn't activated the option only to copy the code. To make it possible to generate executable programm code too, when this option is activated, you can write "clog" instead of "log".


This page belongs to the TextTransformer Documentation

Home  Content  German