comparison 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
comparison
equal deleted inserted replaced
25:81f9b72a44ce 26:045dac571339
1 using Common.Messages;
2 using GalaSoft.MvvmLight.Messaging;
3
4 namespace Common.Logger
5 {
6 public class Log
7 {
8 public static void Write(string body)
9 {
10 Messenger.Default.Send(new LogMessage() { Body = body });
11 }
12 }
13 }