Table of Contents

Method Log

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Log(string)

Adds an entry in the SLAutomation.txt log file.

public void Log(string message)

Parameters

message string

The message to log.

Examples

engine.Log("My log message");

Exceptions

DataMinerException

Log failed.

Log(string, LogType, int)

Adds an entry in the SLAutomation.txt log file.

public void Log(string message, LogType type, int logLevel)

Parameters

message string

The message to log.

type LogType

The log type.

logLevel int

The log level.

Examples

engine.Log("My log message", LogType.Always, 5);

Exceptions

DataMinerException

Log failed.

Log(string, LogType, int, string)

Adds an entry in the SLAutomation.txt log file.

public void Log(string message, LogType type, int logLevel, string method)

Parameters

message string

The message to log.

type LogType

The log type.

logLevel int

The log level.

method string

The method name to include in the log entry.

Examples

engine.Log("My log message", LogType.Always, 5, "Initialize");

Exceptions

DataMinerException

Log failed.