diff Messaging/Common/Logger/Log.cs @ 26:045dac571339

Working on data binding to a user control
author adminsh@apollo
date Wed, 21 Mar 2012 15:39:53 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Messaging/Common/Logger/Log.cs	Wed Mar 21 15:39:53 2012 +0000
@@ -0,0 +1,13 @@
+using Common.Messages;
+using GalaSoft.MvvmLight.Messaging;
+
+namespace Common.Logger
+{
+    public class Log
+    {
+        public static void Write(string body)
+        {
+            Messenger.Default.Send(new LogMessage() { Body = body });
+        }
+    }
+}