protected LogScope(LogTunnel log, OpenLogScopeTitle title, ILogScopeSyncImplementation logScopeSyncImplementation) { m_Log = log; title.ParentLogId = logScopeSyncImplementation.GetScopeId(); m_logScopeSyncImplementation = logScopeSyncImplementation; m_parent = logScopeSyncImplementation.LogScope; m_longScopeScopeId = Interlocked.Increment(ref m_logScopeIdCount); logScopeSyncImplementation.LogScope = this; m_Log.Log(title); }
public LogScope(LogTunnel log, string title, ILogScopeSyncImplementation logScopeSyncImplementation) : this(log, new OpenLogScopeTitle(title), logScopeSyncImplementation) { }
public LogScope(LogTunnel log, ILogScopeSyncImplementation logScopeSyncImplementation) : this(log, new OpenLogScopeTitle(string.Empty), logScopeSyncImplementation) { }