Last change
on this file since 5841 was
5738,
checked in by landauf, 15 years ago
|
merged libraries2 back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
588 bytes
|
Line | |
---|
1 | /*********************************************************************** |
---|
2 | LoggingLevel |
---|
3 | ***********************************************************************/ |
---|
4 | enum LoggingLevel |
---|
5 | { |
---|
6 | Errors, |
---|
7 | Warnings, |
---|
8 | Standard, |
---|
9 | Informative, |
---|
10 | Insane |
---|
11 | }; |
---|
12 | |
---|
13 | |
---|
14 | |
---|
15 | /*********************************************************************** |
---|
16 | Logger |
---|
17 | ***********************************************************************/ |
---|
18 | class Logger |
---|
19 | { |
---|
20 | static Logger& getSingleton(); |
---|
21 | |
---|
22 | void setLoggingLevel(LoggingLevel level); |
---|
23 | LoggingLevel getLoggingLevel() const; |
---|
24 | |
---|
25 | void logEvent(string message, LoggingLevel level=Standard); |
---|
26 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.