예제 #1
0
        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);
        }
예제 #2
0
 public LogScope(LogTunnel log, string title, ILogScopeSyncImplementation logScopeSyncImplementation)
     : this(log, new OpenLogScopeTitle(title), logScopeSyncImplementation)
 {
 }
예제 #3
0
 public LogScope(LogTunnel log, ILogScopeSyncImplementation logScopeSyncImplementation)
     : this(log, new OpenLogScopeTitle(string.Empty), logScopeSyncImplementation)
 {
 }