示例#1
0
文件: Logger.cs 项目: jbirkel/jhblib
 public Logger(LogTgt tgt, Level lvl, Header hdr)
 {
     _logTgt = tgt; _level = lvl; _header = hdr;
 }
示例#2
0
文件: Logger.cs 项目: jbirkel/jhblib
 public Logger(LogTgt tgt, Level lvl )
 {
     _init(); _logTgt = tgt; _level = lvl;
 }
示例#3
0
文件: Logger.cs 项目: jbirkel/jhblib
 private void _init()
 {
     _logTgt = new LogTgtDiag();
      _header = Header.Time | Header.Level | Header.Line ;
      _level  = Level.Trace;
      _lineNum = 0;
 }
示例#4
0
文件: Logger.cs 项目: jbirkel/jhblib
 public Logger(LogTgt tgt)
 {
     _init(); _logTgt = tgt;
 }
示例#5
0
文件: Logger.cs 项目: jbirkel/jhblib
 public void SetTarget( LogTgt value )
 {
     _logTgt = value;
 }