Method Log
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Log(string, LogType, int, string)
Adds an entry in the SLAutomation.txt log file.
void Log(string message, LogType type, int logLevel, string method)
Parameters
messagestringThe message to log.
typeLogTypeThe log type.
logLevelintThe log level.
methodstringThe method name to include in the log entry.
Examples
engine.Log("My log message", LogType.Always, 5, "Initialize");
Exceptions
- DataMinerException
Log failed.
Log(string, LogType, int)
Adds an entry in the SLAutomation.txt log file.
void Log(string message, LogType type, int logLevel)
Parameters
Examples
engine.Log("My log message", LogType.Always, 5);
Exceptions
- DataMinerException
Log failed.
Log(string)
Adds an entry in the SLAutomation.txt log file.
void Log(string message)
Parameters
messagestringThe message to log.
Examples
engine.Log("My log message");
Exceptions
- DataMinerException
Log failed.