Click or drag to resize

LogControl Interface

Options and methods that provide control of or access to the iLogic log. Messages can be written to the log by using the predefined Logger rule object in iLogic rules.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface LogControl

The LogControl type exposes the following members.

Properties
  NameDescription
Public propertyAutoDelete
If this is True, the log file will be deleted on a clean session exit. If False, then logs will be kept. Default: True.
Public propertyFolder
Gets or sets the folder for the log file.
Public propertyFullFileName
Gets the full path (folder and filename) of the current log file.
Public propertyLevel
Gets and sets the level of logging messages wanted in the log. Set this to LogLevel.None to disable logging. Default: LogLevel.None.
Public propertyRuleEntryExitMessageLevel
If this is set to a level other than None, the log will contain messages for rule entry and exit, and for the events that cause the rules to run. Default: LogLevel.Trace.
Top
Methods
  NameDescription
Public methodLog
Log a message.
Public methodSaveLogAs
Save the current log to a file with the specified path. If the file exists already, it will be overwritten.
Top
See Also