Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add public void Log(LogLevel level, string message, uint argument, st…

…ring linkedStringKey, int linkedIntKey)
  • Loading branch information...
commit cf73d3a80b6932edf73a8cb19014bc8564dd2bb2 1 parent a6fc376
zhang.jordan authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/NLog/Logger-V1Compat.cs
12 src/NLog/Logger-V1Compat.cs
View
@@ -501,6 +501,18 @@ public void Log(LogLevel level, string message, uint argument)
}
}
+ [CLSCompliant(false)]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ [StringFormatMethod("message")]
+ public void Log(LogLevel level, string message, uint argument, string linkedStringKey, int linkedIntKey)
+ {
+ if (this.IsEnabled(level))
+ {
+ this.WriteToTargets(level, message, new object[] { argument });
+ }
+ }
+
+
/// <summary>
/// Writes the diagnostic message at the specified level using the specified value as a parameter and formatting it with the supplied format provider.
/// </summary>
Please sign in to comment.
Something went wrong with that request. Please try again.