Unsupported content

 

This version of the product is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Log functions

The following functions are for logging. Each takes a single positional argument:

The log messages that are output automatically include the name of the pattern performing the log action. Logs are stored in the directory /usr/tideway/log. The file tw_svc_eca_patterns_nn.log contains log messages from TPL patterns, where nn is the ECA engine number of the Reasoning subsystem. If a pattern is misbehaving, its output will be here. For more information, see Contents of the logs.

Each function takes a single positional argument:

Function nameParameterDescription

log.debug

(string)

Log the given message with a debug level message.

log.info

(string)

Log the given message with an info level message.

log.warn

(string)

Log the given message with a warn level message.

log.error

(string)

Log the given message with an error level message.

log.critical

(string)

Log the given message with a critical level message.
Was this page helpful? Yes No Submitting... Thank you

Comments