Available for: Content Management Server, Template Engine

Task: This command writes a message to the application-specific log file if its level of detail equals or is less than the level that has been set in the system configuration.


logMessage level message

Function parameters:

  • level is an integer number between 0 and 3 (both inclusive) which specifies the detail level of the message (3 = most detailed). You can specify in the log system configuration entry how detailed the messages may be that are written to the log file.
  • message is the message to be logged.

Return value if successful: none.

Necessary permissions (CM only): no restrictions

TE>logMessage 1 {The export was started}