Esempio n. 1
0
 public static LogBuilder AddConsole(this LogBuilder builder)
 {
     builder.Targets.Add(new ConsoleTarget());
     return(builder);
 }
Esempio n. 2
0
 public static LogBuilder AddFile(this LogBuilder builder, string path)
 {
     builder.Targets.Add(new FileTarget(path));
     return(builder);
 }