public Log() { if (this.ConsoleExists()) { this._log = new FileLog(new ConsoleLog()); } else { this._log = new FileLog(); } }
public Log() { this._lock = new object(); this._allowedChannels = new bool[Enum.GetNames(typeof(OutputChannel)).Length]; this.EnableChannel(OutputChannel.Error); if (this.ConsoleExists()) { this._log = new FileLog(new ConsoleLog()); } else { this._log = new FileLog(); } }