-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; }
}
}
- class LogOutput {
+ public class LogOutput {
public TextWriter writer { get; private set; }
public bool open;
public LogOutput(TextWriter writer) {