Revision: 1428
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1428&view=rev
Author:   rorthomas
Date:     2010-07-05 18:02:23 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
fixed loglevel

Modified Paths:
--------------
    trunk/source/main/RigsOfRods.cpp

Modified: trunk/source/main/RigsOfRods.cpp
===================================================================
--- trunk/source/main/RigsOfRods.cpp    2010-07-05 17:48:11 UTC (rev 1427)
+++ trunk/source/main/RigsOfRods.cpp    2010-07-05 18:02:23 UTC (rev 1428)
@@ -112,11 +112,11 @@
 
        // log verbosity change
        if(SETTINGS.getSetting("Logging Level") == "verbose")
-               mRoot->setLogDetail(LL_BOREME);
+               LogManager::getSingleton().setLogDetail(LL_BOREME);
        else if(SETTINGS.getSetting("Logging Level") == "normal")
-               mRoot->setLogDetail(LL_NORMAL);
+               LogManager::getSingleton().setLogDetail(LL_NORMAL);
        else if(SETTINGS.getSetting("Logging Level") == "low")
-               mRoot->setLogDetail(LL_LL_LOW);
+               LogManager::getSingleton().setLogDetail(LL_LOW);
        //FROM NOW ON WE HAVE LOGMANAGER!
 
        CACHE.setLocation(SETTINGS.getSetting("Cache Path"), 
SETTINGS.getSetting("Config Root"));


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to