Exemple #1
0
 public EnrichersTest()
 {
     _writer = new TestWriter();
     L.Config.ClearWriters();
     L.Config
     .WriteTo.Trace()
     .WriteTo.Custom(_writer);
     _log = L.G <FormattingTest>();
 }
Exemple #2
0
 public EnrichersTest()
 {
     _writer = new TestWriter();
      L.Config.ClearWriters();
      L.Config
     .WriteTo.Trace()
     .WriteTo.Custom(_writer);
      _log = L.G<FormattingTest>();
 }
Exemple #3
0
 public FormattingTest()
 {
     _writer = new TestWriter();
     L.Config.ClearWriters();
     L.Config
     .WriteTo.Trace()
     .WriteTo.Custom(_writer)
     .EnrichWith.ThreadId()
     .EnrichWith.Constant("node", "test");
 }
Exemple #4
0
 public FormattingTest()
 {
     _writer = new TestWriter();
      L.Config.ClearWriters();
      L.Config
     .WriteTo.Trace()
     .WriteTo.Custom(_writer)
     .EnrichWith.ThreadId()
     .EnrichWith.Constant("node", "test");
 }