Last change
on this file since 3161 was
2710,
checked in by rgrieder, 16 years ago
|
Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.
|
-
Property svn:eol-style set to
native
|
File size:
577 bytes
|
Rev | Line | |
---|
[2608] | 1 | /*********************************************************************** |
---|
| 2 | LoggingLevel |
---|
| 3 | ***********************************************************************/ |
---|
| 4 | enum LoggingLevel |
---|
| 5 | { |
---|
| 6 | Errors, |
---|
| 7 | Standard, |
---|
| 8 | Informative, |
---|
| 9 | Insane |
---|
| 10 | }; |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | /*********************************************************************** |
---|
| 15 | Logger |
---|
| 16 | ***********************************************************************/ |
---|
| 17 | class Logger |
---|
| 18 | { |
---|
| 19 | static Logger& getSingleton(); |
---|
| 20 | |
---|
| 21 | void setLoggingLevel(LoggingLevel level); |
---|
| 22 | LoggingLevel getLoggingLevel() const; |
---|
| 23 | |
---|
| 24 | void logEvent(string message, LoggingLevel level=Standard); |
---|
| 25 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.