SenseNet.ContentRepository.SenseNetPerformanceCounter.LogException C# (CSharp) Method

LogException() private method

private LogException ( Exception ex ) : void
ex System.Exception
return void
        private void LogException(Exception ex)
        {
            if (!this.Accessible) 
                return;

            lock (_counter)
            {
                if (!this.Accessible) 
                    return;

                this.Accessible = false;
                Logger.WriteException(ex);
            }
        }
    }