public void InitilizeListener(Type type) { if (!string.IsNullOrEmpty(LogPath)) { string fileName = Path.Combine(LogPath, string.Format("{0}.{1}.log", type.Namespace, type.Name)); _logger = new LoggerBase(fileName, string.Empty, string.Empty); } }
public SplitterTraceListener(string file) : base(file) { if (!string.IsNullOrEmpty(file)) { _logger = new LoggerBase(file, string.Empty, string.Empty); } }