示例#1
0
 public static FileLogger <NoLockLogWriter> NoLockAllScrubberTimeBasedXsvLogWriter(string logDir, string logPrefix, char separator) => new FileLogger <NoLockLogWriter>(
     XsvFormatterInstance = new XsvFormatter(separator),
     PrivacyScrubberFactory.ScrubAll(),
     new TimeBasedLogFileName(logDir, logPrefix, XsvFormatterInstance.FileExtention),
     LogLevels.All,
     LogSources.All,
     true);
示例#2
0
 public static FileLogger <NoLockLogWriter> NoLockAllScrubberTimeBasedXmlLogWriter(string logDir, string logPrefix) => new FileLogger <NoLockLogWriter>(
     XmlLogFormatter.Instance,
     PrivacyScrubberFactory.ScrubAll(),
     new TimeBasedLogFileName(logDir, logPrefix, XmlLogFormatter.Instance.FileExtention),
     LogLevels.All,
     LogSources.All,
     true);
示例#3
0
 public static FileLogger <ConcurrentLogWriter> ConcurrentAllScrubberTimeBasedConsoleLogWriter(string logDir, string logPrefix) => new FileLogger <ConcurrentLogWriter>(
     ConsoleLogFormatter.Instance,
     PrivacyScrubberFactory.ScrubAll(),
     new TimeBasedLogFileName(logDir, logPrefix, ConsoleLogFormatter.Instance.FileExtention),
     LogLevels.All,
     LogSources.All,
     true);
示例#4
0
 public static FileLogger <NoLockLogWriter> NoLockAllScrubberIncrementalConsoleLogWriter(string logDir, string logPrefix) => new FileLogger <NoLockLogWriter>(
     ConsoleLogFormatter.Instance,
     PrivacyScrubberFactory.ScrubAll(),
     new IncrementalLogFileName(logDir, logPrefix, CsvLogFormatter.Instance.FileExtention),
     LogLevels.All,
     LogSources.All,
     true);
示例#5
0
 public static FileLogger <ConcurrentLogWriter> ConcurrentAllScrubberIncrementalXsvLogWriter(string logDir, string logPrefix, char separator) => new FileLogger <ConcurrentLogWriter>(
     XsvFormatterInstance = new XsvFormatter(separator),
     PrivacyScrubberFactory.ScrubAll(),
     new IncrementalLogFileName(logDir, logPrefix, XsvFormatterInstance.FileExtention),
     LogLevels.All,
     LogSources.All,
     true);