Microsoft.Azure.Amqp.AmqpDebug.AmqpDebugImpl.LogInternal C# (CSharp) Method

LogInternal() private method

private LogInternal ( bool send, ulong code, uint p1, uint p2 ) : void
send bool
code ulong
p1 uint
p2 uint
return void
            void LogInternal(bool send, ulong code, uint p1, uint p2)
            {
                int p = (int)((uint)Interlocked.Increment(ref this.index) % this.entries.Length);
                this.entries[p] = new Entry()
                {
                    Ticks = Stopwatch.GetTimestamp(),
                    ThreadId = System.Environment.CurrentManagedThreadId,
                    Send = send,
                    Code = code,
                    Param1 = p1,
                    Param2 = p2
                };
            }