From 4122ddb072f87def036ddc2c5875011c291b5f40 Mon Sep 17 00:00:00 2001 From: Konstantin Saltuk Date: Mon, 26 Jun 2023 11:37:20 +0200 Subject: [PATCH] Remove irrelevant StructuredMessageTemplateAttribute --- src/NLog/Abstractions/ILogger.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NLog/Abstractions/ILogger.cs b/src/NLog/Abstractions/ILogger.cs index ad9ba20770..5596a8ea80 100644 --- a/src/NLog/Abstractions/ILogger.cs +++ b/src/NLog/Abstractions/ILogger.cs @@ -296,14 +296,14 @@ bool IsFatalEnabled /// This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. [Obsolete("Use Debug(Exception exception, string message, params object[] args) method instead. Marked obsolete with v4.3.11 (Only here because of LibLog)")] [EditorBrowsable(EditorBrowsableState.Never)] - void DebugException([Localizable(false)][StructuredMessageTemplate] string message, Exception exception); + void DebugException([Localizable(false)] string message, Exception exception); /// /// Writes the diagnostic message and exception at the Debug level. /// /// A to be written. /// An exception to be logged. - void Debug(Exception exception, [Localizable(false)][StructuredMessageTemplate] string message); + void Debug(Exception exception, [Localizable(false)] string message); /// /// Writes the diagnostic message and exception at the Debug level. @@ -961,7 +961,7 @@ bool IsFatalEnabled /// This method was marked as obsolete before NLog 4.3.11 and it may be removed in a future release. [Obsolete("Use Fatal(Exception exception, string message, params object[] args) method instead. Marked obsolete with v4.3.11 (Only here because of LibLog)")] [EditorBrowsable(EditorBrowsableState.Never)] - void FatalException([Localizable(false)][StructuredMessageTemplate] string message, Exception exception); + void FatalException([Localizable(false)] string message, Exception exception); /// /// Writes the diagnostic message and exception at the Fatal level.