X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Wptscs%2FLogics%2FLogger.cs;h=83f2dcee9fbc873112921f118a7591782df2b3b6;hb=1db23055b1f6bbba4c056ce39f6ea29d102805ba;hp=70f297e978531e0745bf42721257997b06531a45;hpb=75c6c23b34fcffb166415978a1328bd727f98179;p=wptscs%2Fwpts.git diff --git a/Wptscs/Logics/Logger.cs b/Wptscs/Logics/Logger.cs index 70f297e..83f2dce 100644 --- a/Wptscs/Logics/Logger.cs +++ b/Wptscs/Logics/Logger.cs @@ -27,7 +27,7 @@ namespace Honememo.Wptscs.Logics /// /// ログテキスト。 /// - private string log = String.Empty; + private string log = string.Empty; #endregion @@ -85,7 +85,7 @@ namespace Honememo.Wptscs.Logics public virtual void AddMessage(string format, params object[] args) { // 書式化してオーバーロードメソッドをコール - this.AddMessage(String.Format(format, args)); + this.AddMessage(string.Format(format, args)); } /// @@ -106,7 +106,7 @@ namespace Honememo.Wptscs.Logics public virtual void AddResponse(string format, params object[] args) { // 書式化してオーバーロードメソッドをコール - this.AddResponse(String.Format(format, args)); + this.AddResponse(string.Format(format, args)); } /// @@ -130,7 +130,7 @@ namespace Honememo.Wptscs.Logics public virtual void AddSeparator() { // この実装では、区切りは余分な空行で表す - this.AddMessage(String.Empty); + this.AddMessage(string.Empty); } #endregion @@ -227,7 +227,7 @@ namespace Honememo.Wptscs.Logics protected void AddNewLineIfNotEndWithNewLine() { // ログが空以外で最後が改行ではない場合 - if (!String.IsNullOrEmpty(this.Log) && !this.Log.EndsWith(Environment.NewLine)) + if (!string.IsNullOrEmpty(this.Log) && !this.Log.EndsWith(Environment.NewLine)) { this.Log += Environment.NewLine; }