Permalink
Browse files

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

…ring linkedStringKey, int linkedIntKey)
  • Loading branch information...
1 parent a6fc376 commit cf73d3a80b6932edf73a8cb19014bc8564dd2bb2 zhang.jordan committed Feb 27, 2014
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/NLog/Logger-V1Compat.cs
@@ -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>

0 comments on commit cf73d3a

Please sign in to comment.