diff --git a/Helper/NlogHelper.cs b/Helper/NlogHelper.cs
index 2341b38..ed474a3 100644
--- a/Helper/NlogHelper.cs
+++ b/Helper/NlogHelper.cs
@@ -174,7 +174,7 @@ public static class NlogHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void Error(string msg, Exception exception = null, bool throttle = false,
+ public static void Error(string msg, Exception exception = null, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
@@ -190,7 +190,7 @@ public static class NlogHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void Info(string msg, bool throttle = false,
+ public static void Info(string msg, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
@@ -206,7 +206,7 @@ public static class NlogHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void Warn(string msg, bool throttle = false,
+ public static void Warn(string msg, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
@@ -222,7 +222,7 @@ public static class NlogHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void Trace(string msg, bool throttle = false,
+ public static void Trace(string msg, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
diff --git a/Helper/NotificationHelper.cs b/Helper/NotificationHelper.cs
index b592e2e..81cf43c 100644
--- a/Helper/NotificationHelper.cs
+++ b/Helper/NotificationHelper.cs
@@ -99,7 +99,7 @@ public static class NotificationHelper
/// 是否启用通知节流。
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的行号。
- public static void ShowMessage(string msg, NotificationType notificationType = NotificationType.Info, bool throttle = false,
+ public static void ShowMessage(string msg, NotificationType notificationType = NotificationType.Info, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerLineNumber] int callerLineNumber = 0)
{
@@ -115,7 +115,7 @@ public static class NotificationHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void ShowError(string msg, Exception exception = null, bool throttle = false,
+ public static void ShowError(string msg, Exception exception = null, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
@@ -131,7 +131,7 @@ public static class NotificationHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void ShowSuccess(string msg, bool throttle = false,
+ public static void ShowSuccess(string msg, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)
@@ -147,7 +147,7 @@ public static class NotificationHelper
/// 自动捕获:调用此方法的源文件完整路径。
/// 自动捕获:调用此方法的成员或属性名称。
/// 自动捕获:调用此方法的行号。
- public static void ShowInfo(string msg, bool throttle = false,
+ public static void ShowInfo(string msg, bool throttle = true,
[CallerFilePath] string callerFilePath = "",
[CallerMemberName] string callerMember = "",
[CallerLineNumber] int callerLineNumber = 0)