OpenRaider
0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
Log.cpp
Go to the documentation of this file.
1
8
#include "
global.h
"
9
#include "
Log.h
"
10
11
LogLevel
Log::logs
[
LOG_COUNT
] = { 0, 1, 2, 3, 4 };
12
std::vector<LogEntry>
Log::wholeLog
;
13
14
LogLevel
&
Log::get
(
int
level) {
15
assertGreaterThanEqual
(level, 0);
16
assertLessThan
(level,
LOG_COUNT
);
17
return
logs
[level];
18
}
19
Log::logs
static LogLevel logs[LOG_COUNT]
Definition:
Log.h:42
global.h
Included everywhere.
Log::get
static LogLevel & get(int level)
Definition:
Log.cpp:14
Log.h
Global Logging Utility.
LOG_COUNT
#define LOG_COUNT
Definition:
Log.h:23
Log::wholeLog
static std::vector< LogEntry > wholeLog
Definition:
Log.h:44
assertGreaterThanEqual
#define assertGreaterThanEqual(x, y)
Definition:
global.h:170
assertLessThan
#define assertLessThan(x, y)
Definition:
global.h:146
LogLevel
Definition:
Log.h:48
Generated by
1.8.9.1