Example #1
0
 protected override void Execute(CodeActivityContext context)
 {
     MessageRepository.Instance.Messages.Add(
         new Message(
             Level,
             Message.Get(context),
             DateTimeOffset.Now,
             TransactionId.Get(context) ?? MessageRepository.Instance.DefaultTransactionId,
             (Tags.Get(context) ?? new string[0]).ToList(),
             CustomProperties.Get(context),
             IgnoreDefaultTags.Get(context)));
 }