This functionality is only available for certain module packages.

You are here: Reference > SCRIPTING > General methods > Logging

Logging

EEC provides two mechanism for the logging. Besides simple logging by way of a text file, it is also possible to capture messages that are displayed in the Message log view of EEC.

EEC stores log files that save all program messages and alerts that occur. Scripts, too, can generate messages and store them in the logging system. In the event of a support request, all logs are attached to the request, and are thus available to Support. Good logging facilitates the error search, and can help locate the problem quickly.

To record entries in the log file, an object of the SpaceLogger type is required. The following example shows how such an object is created and used.

The following section describes the methods that are used to generate log entries.

More: