Skip to content

Commit

Permalink
Update docs, remove arraylist (#4301)
Browse files Browse the repository at this point in the history
  • Loading branch information
304NotModified committed Feb 14, 2021
1 parent d901724 commit 3e1d601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/NLog/Targets/MailTarget.cs
Expand Up @@ -336,7 +336,7 @@ internal virtual ISmtpClient CreateSmtpClient()
}

/// <summary>
/// Renders the logging event message and adds it to the internal ArrayList of log messages.
/// Writes async log event to the mail target.
/// </summary>
/// <param name="logEvent">The logging event.</param>
protected override void Write(AsyncLogEventInfo logEvent)
Expand All @@ -359,7 +359,7 @@ protected override void Write(AsyncLogEventInfo[] logEvents)
}

/// <summary>
/// Renders an array logging events.
/// Writes log events to the mail target.
/// </summary>
/// <param name="logEvents">Array of logging events.</param>
protected override void Write(IList<AsyncLogEventInfo> logEvents)
Expand Down
4 changes: 2 additions & 2 deletions src/NLog/Targets/MemoryTarget.cs
Expand Up @@ -37,7 +37,7 @@ namespace NLog.Targets
using System.ComponentModel;

/// <summary>
/// Writes log messages to an ArrayList in memory for programmatic retrieval.
/// Writes log messages to <see cref="Logs"/> in memory for programmatic retrieval.
/// </summary>
/// <seealso href="https://github.com/nlog/nlog/wiki/Memory-target">Documentation on NLog Wiki</seealso>
/// <example>
Expand Down Expand Up @@ -95,7 +95,7 @@ public MemoryTarget(string name) : this()
public int MaxLogsCount { get; set; }

/// <summary>
/// Renders the logging event message and adds it to the internal ArrayList of log messages.
/// Renders the logging event message and adds to <see cref="Logs"/>
/// </summary>
/// <param name="logEvent">The logging event.</param>
protected override void Write(LogEventInfo logEvent)
Expand Down

0 comments on commit 3e1d601

Please sign in to comment.