public static RompScopedExecutionLog Create(int executionId) { var logger = new ExecutionLogger(executionId); return(new RompScopedExecutionLog(logger.RootLogScope)); }
internal BackgroundLogScope(ExecutionLogger executionLogger, string name, Task <int?> createdInDbTask) { this.ExecutionLogger = executionLogger; this.ScopeId = createdInDbTask; this.Name = name; }