OSDN Git Service

ログの保存先でFilePathが使えるように変更
authorkimikage <kimikage_ceo@hotmail.com>
Thu, 11 Nov 2010 23:39:46 +0000 (08:39 +0900)
committerkimikage <kimikage_ceo@hotmail.com>
Thu, 11 Nov 2010 23:39:46 +0000 (08:39 +0900)
Karinto/Logger.cs

index ae947b1..1f3781d 100755 (executable)
@@ -19,12 +19,12 @@ namespace Karinto
         private StreamWriter stdout;\r
 \r
 \r
-        public Logger(string path)\r
-            : base(path,true)\r
+        public Logger(FilePath path)\r
+            : base(path, true)\r
         {\r
             stdout = new StreamWriter(Console.OpenStandardOutput());\r
             stdout.AutoFlush = true;\r
-            this.AutoFlush = true;\r
+            base.AutoFlush = true;\r
         }\r
 \r
         public override void Close()\r