Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 27, 2007, 4:58:52 PM (16 years ago)
Author:
landauf
Message:

introduced 3 different soft debug levels: one for each output device (console, logfile, ingame-shell (to come))
all are configurable in the config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/DebugLevel.h

    r695 r699  
    3131
    3232    The DebugLevel class is a singleton, only used to configure the amount of debug
    33     output (see Debug.h) into the console and the log-file (see OutputHandler.h).
     33    output (see Debug.h) into the console and the logfile (see OutputHandler.h).
    3434*/
    3535
     
    3939#include "CorePrereqs.h"
    4040#include "OrxonoxClass.h"
     41#include "OutputHandler.h"
    4142
    4243namespace orxonox
     
    4647    {
    4748        public:
    48             static int getSoftDebugLevel();
     49            static int getSoftDebugLevel(OutputHandler::OutputDevice device = OutputHandler::LD_All);
    4950            void setConfigValues();
    5051
     
    5556
    5657            int softDebugLevel_;                            //!< The debug level
     58            int softDebugLevelConsole_;                     //!< The debug level for the console
     59            int softDebugLevelLogfile_;                     //!< The debug level for the logfile
     60            int softDebugLevelShell_;                       //!< The debug level for the ingame shell
    5761            ConfigValueContainer* softDebugLevelContainer_; //!< The config value container for the debug level
    5862    };
Note: See TracChangeset for help on using the changeset viewer.