Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed documentation of LogLevel.FromOrdinal to match implementation #5

wants to merge 1 commit into from

2 participants

cajun-rat Kim Christensen

No description provided.

Kim Christensen

Has been implemented in 2777b71 so pull request could be closed

Cool thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/NLog/LogLevel.cs
2  src/NLog/LogLevel.cs
@@ -233,7 +233,7 @@ internal int Ordinal
233 233 /// Gets the <see cref="LogLevel"/> that corresponds to the specified ordinal.
234 234 /// </summary>
235 235 /// <param name="ordinal">The ordinal.</param>
236   - /// <returns>The <see cref="LogLevel"/> instance. For 0 it returns <see cref="LogLevel.Debug"/>, 1 gives <see cref="LogLevel.Info"/> and so on.</returns>
  236 + /// <returns>The <see cref="LogLevel"/> instance. For 0 it returns <see cref="LogLevel.Trace"/>, 1 gives <see cref="LogLevel.Debug"/> and so on.</returns>
237 237 public static LogLevel FromOrdinal(int ordinal)
238 238 {
239 239 switch (ordinal)

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.