-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimpleLogger.cpp
More file actions
47 lines (42 loc) · 767 Bytes
/
SimpleLogger.cpp
File metadata and controls
47 lines (42 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include <SimpleLogger.hpp>
namespace vp
{
/**
* @brief Constructor for SimpleLogger
*/
SimpleLogger::SimpleLogger()
{
}
/**
* @brief Destructor for SimpleLogger
*/
SimpleLogger::~SimpleLogger()
{
}
/**
* @brief Initialize the logger
* @return ret_t Return status
*/
auto SimpleLogger::initialize() -> ret_t
{
return ALogger::initialize();
}
/**
* @brief Finalize the logger
* @return Return status
*/
auto SimpleLogger::finalize() -> ret_t
{
return ALogger::finalize();
}
/**
* @brief Write the log message
* @param pzLogString Log message
* @param nLogLength Length of the log message
* @return ret_t Return status
*/
auto SimpleLogger::writeLog(const char *pzLogString, int nLogLength) -> ret_t
{
return write(pzLogString, nLogLength);
}
}