Avionics
Dropship Simulator
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
u
w
Variables
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
m
n
o
p
r
s
u
w
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Functions
Variables
Enumerations
Enumerator
+
Macros
b
c
d
e
h
i
n
p
s
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Logger.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
class
Logger
6
{
7
private
:
8
int
logfile
;
9
10
public
:
11
enum
Level
12
{
13
None
= -1,
14
Info
,
15
Warn
,
16
Error
,
17
Fatal
18
};
19
20
void
Log
(
const
char
* msg,
Level
level =
Info
,
int
errorCode = 0);
21
22
std::string
lastError
;
23
Level
lastLevel
;
24
int
lastErrorCode
;
25
26
Logger
();
27
~Logger
();
28
};
Logger::~Logger
~Logger()
Definition:
Logger.cpp:112
Logger
Definition:
Logger.h:5
Logger::lastLevel
Level lastLevel
Definition:
Logger.h:23
Logger::lastErrorCode
int lastErrorCode
Definition:
Logger.h:24
Logger::lastError
std::string lastError
Definition:
Logger.h:22
Logger::Fatal
Definition:
Logger.h:17
Logger::Info
Definition:
Logger.h:14
Logger::logfile
int logfile
Definition:
Logger.h:8
Logger::Error
Definition:
Logger.h:16
Logger::None
Definition:
Logger.h:13
Logger::Log
void Log(const char *msg, Level level=Info, int errorCode=0)
These have to be in this order.
Definition:
Logger.cpp:16
Logger::Level
Level
Definition:
Logger.h:11
Logger::Warn
Definition:
Logger.h:15
Logger::Logger
Logger()
Definition:
Logger.cpp:95
Logging
Logger.h
Generated on Sat Feb 13 2021 09:30:42 for Avionics by
1.8.14