annotate Messaging/Common/Logger/Log.cs @ 28:4c0dea4760c5

RabbitMq working
author adminsh@apollo
date Wed, 21 Mar 2012 20:29:04 +0000
parents 045dac571339
children
rev   line source
26
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
1 using Common.Messages;
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
2 using GalaSoft.MvvmLight.Messaging;
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
3
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
4 namespace Common.Logger
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
5 {
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
6 public class Log
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
7 {
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
8 public static void Write(string body)
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
9 {
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
10 Messenger.Default.Send(new LogMessage() { Body = body });
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
11 }
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
12 }
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
13 }