Exemple #1
0
        public static RompScopedExecutionLog Create(int executionId)
        {
            var logger = new ExecutionLogger(executionId);

            return(new RompScopedExecutionLog(logger.RootLogScope));
        }
Exemple #2
0
 internal BackgroundLogScope(ExecutionLogger executionLogger, string name, Task <int?> createdInDbTask)
 {
     this.ExecutionLogger = executionLogger;
     this.ScopeId         = createdInDbTask;
     this.Name            = name;
 }