OTX-Runtime for DotNet
|
|
Allows users to implement their own Logging extension. More...
Public Member Functions | |
void | CloseAll (IRuntimeContext runtimeContext) |
The log file related to the IRuntimeContext should be closed More... | |
void | SetLogLevel (IRuntimeContext runtimeContext, LogLevels level) |
Invoked when a SetLogLevel occurs in OTX-Runtime. More... | |
void | WriteLog (IRuntimeContext runtimeContext, string writeLogInfo, SeverityLevels level, string target, string message) |
Invoked when a WriteLog occurs in OTX-Runtime. More... | |
Allows users to implement their own Logging extension.
void OpenTestSystem.Otx.Runtime.Api.Custom.ILoggingImplementation.CloseAll | ( | IRuntimeContext | runtimeContext | ) |
The log file related to the IRuntimeContext should be closed
runtimeContext | The related runtime context. |
void OpenTestSystem.Otx.Runtime.Api.Custom.ILoggingImplementation.SetLogLevel | ( | IRuntimeContext | runtimeContext, |
LogLevels | level | ||
) |
Invoked when a SetLogLevel occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
level | One of LogLevels. The LogLevels = {OFF|FATAL|ERROR|WARN|INFO|DEBUG|TRACE|ALL}. |
void OpenTestSystem.Otx.Runtime.Api.Custom.ILoggingImplementation.WriteLog | ( | IRuntimeContext | runtimeContext, |
string | writeLogInfo, | ||
SeverityLevels | level, | ||
string | target, | ||
string | message | ||
) |
Invoked when a WriteLog occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
writeLogInfo | Additional information consits of Project, Package, Document and Procedure. Format: Project@Package@Document@Procedure. |
level | One of SeverityLevels. The SeverityLevels = {FATAL|ERROR|WARN|INFO|DEBUG|TRACE}. |
target | Target is a file path where the log will be written. |
message | Message will be written to the log file. |