comparison engine/core/util/log/logger.i @ 495:ae9f5383f5b1

Added a new log module called Script. This should be used by the python modules. Did some code cleanup and comment cleanup. Added some more visible log modules to the shooter demo for fun.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 11 May 2010 21:30:55 +0000
parents 90005975cdbb
children
comparison
equal deleted inserted replaced
494:e241d7553496 495:ae9f5383f5b1
40 LEVEL_WARN = 2, 40 LEVEL_WARN = 2,
41 LEVEL_ERROR = 3 41 LEVEL_ERROR = 3
42 }; 42 };
43 ~LogManager(); 43 ~LogManager();
44 44
45 void log(LogLevel level, logmodule_t module, const std::string& msg);
45 void setLevelFilter(LogLevel level); 46 void setLevelFilter(LogLevel level);
46 LogLevel getLevelFilter(); 47 LogLevel getLevelFilter();
47 48
48 void addVisibleModule(logmodule_t module); 49 void addVisibleModule(logmodule_t module);
49 void removeVisibleModule(logmodule_t module); 50 void removeVisibleModule(logmodule_t module);