class
IScriptApplicationLoggerObject.
IScriptApplicationLoggerObject
Bases: object
Provides services on the application logger.
xml_import
path
Imports the logger points and logger messages from an external XML file with the given path into this instance.
path (string) -- The full path of the file in XML format.
xml_export
path
Exports the state of this instance in XML format into a file with the given path.
The state depends on calls of load_logger_points and / or load_logger_messages_and_logger_points .
path (string) -- The full path of the file in XML format.
load_logger_points
Loads the logger points from the controller into this instance.
Preconditions: The application on the controller must run and the application logger must be registered before. Registering can be done via IEC program by calling 'APL.G_ifApplicationLogger.RegisterCommunicationService();'.
load_logger_messages_and_logger_points
Loads logger messages and logger points from the controller into this instance.
Preconditions: The application on the controller must run and the application logger must be registered before. Registering can be done via IEC program by calling 'APL.G_ifApplicationLogger.RegisterCommunicationService();'.
save_log_levels
Saves the logger levels of the logger points of this instance to the controller.
get_logger_points
Gets a read only list of the logger points.
The log level can be modified on each logger point and updated to the controller using save_log_levels .
A read only list of the logger points.