Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs, remove out dated "ArrayList" #4301

Merged
merged 1 commit into from
Feb 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/NLog/Targets/MailTarget.cs
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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