Пример #1
0
 public FileSink(string path, ITextFormater formater, RollingPolicy rolling = RollingPolicy.None, long fileSizeLimit = 1024 *1024 *1024 /* 1GB */)
 {
     this.Path          = path;
     this.Formater      = formater;
     this.Rolling       = rolling;
     this.FileSizeLimit = fileSizeLimit;
 }
Пример #2
0
 public ConsoleSink(ITextFormater formater)
 {
     this.Formater = formater;
 }
Пример #3
0
 public TraceSink(ITextFormater formater)
 {
     this.Formater = formater;
 }
Пример #4
0
 public DebugSink(ITextFormater formater)
 {
     this.Formater = formater;
 }