コード例 #1
0
 public void Log(String message, [CallerMemberName] String memberName = "")
 {
     message = DateTime.Now.ToString("yyyy/M/d HH:mm:ss | ") + memberName + ": " + message;
     _logForm?.Log(message);
     _logFile?.Log(message);
 }