예제 #1
0
 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);
     }
 }
예제 #2
0
 public SplitterTraceListener(string file)
     : base(file)
 {
     if (!string.IsNullOrEmpty(file))
     {
         _logger = new LoggerBase(file, string.Empty, string.Empty);
     }
 }