public void ToStringによる出力の確認() { //setUp var sut = new OneLog(GetDateTime(), LogKind.Debug, NameTag, ThreadId, RemoteHostname, MessageId, Message, DetailInfomation); const string expected = "1970/01/01 09:00:00\tDebug\t100\tNAME\t127.0.0.1\t0000200\tMSG\tDETAIL"; //exercise var actual = sut.ToString(); //verify Assert.That(actual, Is.EqualTo(expected)); }
//���O��Append�C�x���g�Ń����[�g�N���C�A���g�փ��O�𑗐M���� public override void Append(OneLog oneLog) { RemoteData.Send(_sockTcp, RemoteDataKind.DatLog, oneLog.ToString()); }