DatabaseFunctionsWriteLineToWorkflowLog Method |
Write a single line to the workflow log. Use only if you have no WorkflowLogTrackingParticipant
Namespace: Scanjour.Workflow4.HostAssembly: Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static void WriteLineToWorkflowLog(
Uri ODataUri,
string serverName,
Guid instanceId,
string message,
string activityName = "(none)",
string level = "Info",
string recordType = "SingleLogWriteRecord"
)
Public Shared Sub WriteLineToWorkflowLog (
ODataUri As Uri,
serverName As String,
instanceId As Guid,
message As String,
Optional activityName As String = "(none)",
Optional level As String = "Info",
Optional recordType As String = "SingleLogWriteRecord"
)
public:
static void WriteLineToWorkflowLog(
Uri^ ODataUri,
String^ serverName,
Guid instanceId,
String^ message,
String^ activityName = L"(none)",
String^ level = L"Info",
String^ recordType = L"SingleLogWriteRecord"
)
static member WriteLineToWorkflowLog :
ODataUri : Uri *
serverName : string *
instanceId : Guid *
message : string *
?activityName : string *
?level : string *
?recordType : string
(* Defaults:
let _activityName = defaultArg activityName "(none)"
let _level = defaultArg level "Info"
let _recordType = defaultArg recordType "SingleLogWriteRecord"
*)
-> unit
Parameters
- ODataUri Uri
- The odata url
- serverName String
- The ServerName
- instanceId Guid
- The instanceId
- message String
- The message to be written to the database
- activityName String (Optional)
[Missing <param name="activityName"/> documentation for "M:Scanjour.Workflow4.Host.DatabaseFunctions.WriteLineToWorkflowLog(System.Uri,System.String,System.Guid,System.String,System.String,System.String,System.String)"]
- level String (Optional)
- The severity level - e.g. Info, Warning, Error
- recordType String (Optional)
[Missing <param name="recordType"/> documentation for "M:Scanjour.Workflow4.Host.DatabaseFunctions.WriteLineToWorkflowLog(System.Uri,System.String,System.Guid,System.String,System.String,System.String,System.String)"]
See Also