Exemple #1
0
 public LineFormatter(
     ICategoryFormatter categoryFormatter = null,
     bool doAsyncExceptionCleanup         = true)
 {
     _categoryFormatter       = categoryFormatter;
     _doAsyncExceptionCleanup = doAsyncExceptionCleanup;
 }
Exemple #2
0
 public LineFormatter(
     ICategoryFormatter categoryFormatter = null, 
     bool doAsyncExceptionCleanup = true,
     LineEnding lineEnding = LineEnding.CRLF)
 {
     _categoryFormatter = categoryFormatter;
     _doAsyncExceptionCleanup = doAsyncExceptionCleanup;
     _lineEnding = lineEnding;
 }
Exemple #3
0
 public LineFormatter(
     ICategoryFormatter categoryFormatter = null,
     bool doAsyncExceptionCleanup         = true,
     LineEnding lineEnding = LineEnding.CRLF)
 {
     _categoryFormatter       = categoryFormatter;
     _doAsyncExceptionCleanup = doAsyncExceptionCleanup;
     _lineEnding = lineEnding;
 }
Exemple #4
0
 public SyslogFormatter(
     string uniqueId,
     string applicationName,
     ICategoryFormatter categoryFormatter = null,
     bool doAsyncExceptionCleanup         = true)
 {
     _uniqueId                = uniqueId;
     _applicationName         = applicationName;
     _categoryFormatter       = categoryFormatter;
     _doAsyncExceptionCleanup = doAsyncExceptionCleanup;
 }
Exemple #5
0
 public SlowLineFormatter(ICategoryFormatter categoryFormatter = null, bool doAsyncExceptionCleanup = true)
 {
     _categoryFormatter = categoryFormatter;
     _doAsyncExceptionCleanup = doAsyncExceptionCleanup;
 }