From c657894fc3ec45b2febb939d1df6b457c954d002 Mon Sep 17 00:00:00 2001 From: Antony Male Date: Mon, 28 Jul 2014 20:44:33 +0100 Subject: [PATCH] Info, rather than Warn, when the ActionTarget is null --- Stylet/Xaml/CommandAction.cs | 2 +- Stylet/Xaml/EventAction.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Stylet/Xaml/CommandAction.cs b/Stylet/Xaml/CommandAction.cs index 6226450..47b0d8d 100644 --- a/Stylet/Xaml/CommandAction.cs +++ b/Stylet/Xaml/CommandAction.cs @@ -93,7 +93,7 @@ namespace Stylet.Xaml } else { - logger.Warn("ActionTarget on element {0} is null (method name is {1}), nut NullTarget is not Throw, so carrying on", this.Subject, this.MethodName); + logger.Info("ActionTarget on element {0} is null (method name is {1}), nut NullTarget is not Throw, so carrying on", this.Subject, this.MethodName); } } else diff --git a/Stylet/Xaml/EventAction.cs b/Stylet/Xaml/EventAction.cs index 2df91d5..50df439 100644 --- a/Stylet/Xaml/EventAction.cs +++ b/Stylet/Xaml/EventAction.cs @@ -87,7 +87,7 @@ namespace Stylet.Xaml } else { - logger.Warn("ActionTarget on element {0} is null (method name is {1}), nut NullTarget is not Throw, so carrying on", this.subject, this.methodName); + logger.Info("ActionTarget on element {0} is null (method name is {1}), nut NullTarget is not Throw, so carrying on", this.subject, this.methodName); } } else