コード例 #1
0
ファイル: Emulator.cs プロジェクト: axzxs2001/Raft.Net
        public void Log(WarningLogEntry logEntry)
        {
            //if (sw == null)
            //    sw = new System.IO.StreamWriter(logFn);

            //sw.WriteLine(logEntry.Description);
            //sw.Flush();
            Console.WriteLine(logEntry.Description);

            //throw new NotImplementedException();
        }
コード例 #2
0
ファイル: UdpEmulator.cs プロジェクト: ww-it/Raft.Net
 public void LogError(WarningLogEntry logEntry)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
 public void Log(WarningLogEntry logEntry)
 {
     Console.WriteLine(logEntry.ToString());
 }