]> jfr.im git - z_archive/kelsier.git/blobdiff - Logger.cs
Adding auth
[z_archive/kelsier.git] / Logger.cs
index 230a5971e13a3673070ccfc26fad54e1f27439d6..1478662206a5ebcecf81d3269922e33b8aeb6b27 100644 (file)
--- a/Logger.cs
+++ b/Logger.cs
@@ -1,12 +1,32 @@
-using System;
+// Kelsier project - Logging code (Logger.cs)
+// Written by the Jobbig codeteam. <http://jobbig.eu/code/>
+// Copyright 2013 John Runyon.
+// 
+// This file is part of the Kelsier project.
+// 
+// Kelsier is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+// 
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
+
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
 using System.IO;
 
-namespace Kelsier {
-    class Logger {
-        public LogOutput[] debugs {get; private set; }
+namespace Kelsier.Common {
+    public class Logger {
+        public LogOutput[] debugs { get; private set; }
         public LogOutput[] infos { get; private set; }
         public LogOutput[] errors { get; private set; }
         public string from { get; private set; }
@@ -80,7 +100,7 @@ class Logger {
         }
     }
 
-    class LogOutput {
+    public class LogOutput {
         public TextWriter writer { get; private set; }
         public bool open;
         public LogOutput(TextWriter writer) {