changeset 150:42fb97d9ff9e

Fix for non-debug builds. ContentLoader now always has a logger.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 04 Apr 2009 11:59:27 +0200
parents 1125ba603af6
children e785e98d3b78
files data/conf/options.mtt mde/content/ContentLoader.d
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/conf/options.mtt	Sat Mar 14 11:05:51 2009 +0100
+++ b/data/conf/options.mtt	Sat Apr 04 11:59:27 2009 +0200
@@ -4,7 +4,7 @@
 <bool|exitImmediately=false>
 <char[]|l10n="en">
 <enumVal|logLevel="Info">
-<enumVal|logOutput="Both">
+<enumVal|logOutput="both">
 <double|pollInterval=0.01>
 
 {Font}
--- a/mde/content/ContentLoader.d	Sat Mar 14 11:05:51 2009 +0100
+++ b/mde/content/ContentLoader.d	Sat Apr 04 11:59:27 2009 +0200
@@ -29,13 +29,11 @@
 import mde.file.paths;	// PRIORITY enum
 import mde.content.Translation;
 
-debug {
 import tango.util.log.Log : Log, Logger;
 private Logger logger;
 static this () {
     logger = Log.getLogger ("mde.gui.content.ContentLoader");
 }
-}
 
 /// Namespace for the module's functionality
 struct ContentLoader {