Interface ILogger
Provides access to the VHI logging facilities.
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
public interface ILogger
Remarks
Provides access to the VHI logging facilities. Log messages are placed in the scriptserver's log.
Properties
LogInfoEnabled
Checks if informational level logging is turned on.
Declaration
bool LogInfoEnabled { get; }
Property Value
Type | Description |
---|---|
bool | True when informational logging enabled |
LogWarningEnabled
Checks if warning level logging is turned on.
Declaration
bool LogWarningEnabled { get; }
Property Value
Type | Description |
---|---|
bool | True when warning logging enabled |
Methods
LogInfoMessage(string)
Logs an informational message to the log system if logging at the informational level is enabled.
Declaration
void LogInfoMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Informational message to be sent to log file. |
LogWarningMessage(string)
Logs a warning message to the log system if logging at a warning level is enabled.
Declaration
void LogWarningMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | Warning message to be sent to log file |