/// <summary> /// Enqueues the specified body. /// </summary> /// <param name="body">The body.</param> public static void Enqueue(LoggingBody body) { lock (_lock) { runner.Enqueue(body); } }
/// <summary> /// Enqueues the specified body. /// </summary> /// <param name="body">The body.</param> public void Enqueue(LoggingBody body) { lock (_lock) { queue.Enqueue(body); me.Set(); } }
/// <summary> /// Writes the specified body. /// </summary> /// <param name="body">The body.</param> private void Write(LoggingBody body) { WriteInvoke(body.Content, body.Level, body.Exception); }