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
stringThe 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
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
stringThe message to log.
type
LogTypeThe log type.
logLevel
intThe log level.
method
stringThe method name to include in the log entry.
Examples
engine.Log("My log message", LogType.Always, 5, "Initialize");
Exceptions
- DataMinerException
Log failed.