예제 #1
0
 public void Error(Vlingo.Actors.Logging.LogEvent logEvent)
 {
     if (!this.actor.IsStopped)
     {
         Action <Vlingo.Actors.ILogger> cons1762852554 = __ => __.Error(logEvent);
         if (this.mailbox.IsPreallocated)
         {
             this.mailbox.Send(this.actor, cons1762852554, null, ErrorRepresentation21);
         }
         else
         {
             this.mailbox.Send(
                 new LocalMessage <Vlingo.Actors.ILogger>(this.actor, cons1762852554, ErrorRepresentation21));
         }
     }
     else
     {
         this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, $"{ErrorRepresentation21} | {logEvent}"));
     }
 }
예제 #2
0
 public void Warn(Vlingo.Actors.Logging.LogEvent logEvent)
 {
     if (!this.actor.IsStopped)
     {
         Action <Vlingo.Actors.ILogger> cons1546896550 = __ => __.Warn(logEvent);
         if (this.mailbox.IsPreallocated)
         {
             this.mailbox.Send(this.actor, cons1546896550, null, WarnRepresentation20);
         }
         else
         {
             this.mailbox.Send(
                 new LocalMessage <Vlingo.Actors.ILogger>(this.actor, cons1546896550, WarnRepresentation20));
         }
     }
     else
     {
         this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, $"{WarnRepresentation20} | {logEvent}"));
     }
 }
예제 #3
0
 public void Debug(Vlingo.Actors.Logging.LogEvent logEvent)
 {
     if (!this.actor.IsStopped)
     {
         Action <Vlingo.Actors.ILogger> cons1362693295 = __ => __.Debug(logEvent);
         if (this.mailbox.IsPreallocated)
         {
             this.mailbox.Send(this.actor, cons1362693295, null, DebugRepresentation18);
         }
         else
         {
             this.mailbox.Send(
                 new LocalMessage <Vlingo.Actors.ILogger>(this.actor, cons1362693295, DebugRepresentation18));
         }
     }
     else
     {
         this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, $"{DebugRepresentation18} | {logEvent}"));
     }
 }
예제 #4
0
 public void Info(Vlingo.Actors.Logging.LogEvent logEvent)
 {
     if (!this.actor.IsStopped)
     {
         Action <Vlingo.Actors.ILogger> cons1793566457 = __ => __.Info(logEvent);
         if (this.mailbox.IsPreallocated)
         {
             this.mailbox.Send(this.actor, cons1793566457, null, InfoRepresentation19);
         }
         else
         {
             this.mailbox.Send(
                 new LocalMessage <Vlingo.Actors.ILogger>(this.actor, cons1793566457, InfoRepresentation19));
         }
     }
     else
     {
         this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, $"{InfoRepresentation19} | {logEvent}"));
     }
 }
예제 #5
0
 public void Trace(Vlingo.Actors.Logging.LogEvent logEvent)
 {
     if (!this.actor.IsStopped)
     {
         Action <Vlingo.Actors.ILogger> cons180699551 = __ => __.Trace(logEvent);
         if (this.mailbox.IsPreallocated)
         {
             this.mailbox.Send(this.actor, cons180699551, null, TraceRepresentation17);
         }
         else
         {
             this.mailbox.Send(
                 new LocalMessage <Vlingo.Actors.ILogger>(this.actor, cons180699551, TraceRepresentation17));
         }
     }
     else
     {
         this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, $"{TraceRepresentation17} | {logEvent}"));
     }
 }