Exemple #1
0
 public ActorLogToken(
     ActorLogLevel level,
     string source_file,
     int source_line,
     ActorPath path,
     string message
     ) : this(level, source_file, source_line, path, null, message, null)
 {
 }
Exemple #2
0
 public ActorLogToken(
     ActorLogLevel level,
     string source_file,
     int source_line,
     ActorPath path,
     string message,
     IEnumerable <object> items
     ) : this(level, source_file, source_line, path, null, message, items)
 {
 }
Exemple #3
0
 public ActorLogToken(
     ActorLogLevel level,
     string source_file,
     int source_line,
     ActorPath path,
     Exception?exception,
     string message,
     IEnumerable <object>?items
     )
 {
     Time       = DateTime.UtcNow;
     ThreadId   = Thread.CurrentThread.ManagedThreadId;
     SourceFile = source_file;
     SourceLine = source_line;
     Level      = level;
     Path       = path;
     Exception  = exception;
     Message    = message;
     Items      = new List <object>(items ?? new object[0]);
 }