WorkflowEngineDatabaseLoggerLogAsync - метод
Метод для записи лога обработки процесса WorkflowEngine
Пространство имён: Tessa.WorkflowСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task LogAsync(
Guid processCardID,
Guid processID,
string logObject,
string message,
WorkflowLogLevel logLevel = WorkflowLogLevel.Info,
CancellationToken cancellationToken = default
)
Public Function LogAsync (
processCardID As Guid,
processID As Guid,
logObject As String,
message As String,
Optional logLevel As WorkflowLogLevel = WorkflowLogLevel.Info,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ LogAsync(
Guid processCardID,
Guid processID,
String^ logObject,
String^ message,
WorkflowLogLevel logLevel = WorkflowLogLevel::Info,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract LogAsync :
processCardID : Guid *
processID : Guid *
logObject : string *
message : string *
?logLevel : WorkflowLogLevel *
?cancellationToken : CancellationToken
(* Defaults:
let _logLevel = defaultArg logLevel WorkflowLogLevel.Info
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override LogAsync :
processCardID : Guid *
processID : Guid *
logObject : string *
message : string *
?logLevel : WorkflowLogLevel *
?cancellationToken : CancellationToken
(* Defaults:
let _logLevel = defaultArg logLevel WorkflowLogLevel.Info
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- processCardID Guid
- Идентификатор карточки процесса WorkflowEngine.
- processID Guid
- Идентификатор процесса WorkfloEngine.
- logObject String
- Объект, для которого пишется лог.
- message String
- Сообщение.
- logLevel WorkflowLogLevel (Optional)
- Уровень логирвоания.
- cancellationToken CancellationToken (Optional)
- Объект, с помощью которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IWorkflowEngineLoggerLogAsync(Guid, Guid, String, String, WorkflowLogLevel, CancellationToken)