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: 29.0
Syntax
VB
Public Interface LogControl
C#
public interface LogControl
The LogControl type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | AutoDelete |
If this is True, the log file will be deleted on a clean session exit.
If False, then logs will be kept.
Default: True.
|
![]() | Folder |
Gets or sets the folder for the log file.
|
![]() | FullFileName |
Gets the full path (folder and filename) of the current log file.
|
![]() | Level |
Gets and sets the level of logging messages wanted in the log.
Set this to LogLevel.None to disable logging.
Default: LogLevel.None.
|
![]() | RuleEntryExitMessageLevel |
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.
|
Methods
Name | Description | |
---|---|---|
![]() | Log |
Log a message.
|
![]() | SaveLogAs |
Save the current log to a file with the specified path.
If the file exists already, it will be overwritten.
|