GUI
include
Logger.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 by Maciej Wiecierzewski
3
*/
4
5
#ifndef LOGGER_H
6
#define LOGGER_H
7
8
#include <string>
9
#include <ostream>
10
#include <fstream>
11
12
namespace
gui
13
{
14
15
class
Logger
16
{
17
public
:
18
Logger
();
19
Logger
(std::string filePath);
20
21
~Logger
();
22
23
inline
std::ostream &
getStream
() {
return
logStream
; };
24
25
protected
:
26
27
private
:
28
std::ostream
logStream
;
29
std::ofstream *
fileStream
;
30
};
31
32
}
33
34
#endif // LOGGER_H
Generated on Sat Feb 11 2017 20:22:32 for GUI by
1.8.13