Base class for classes that can log to the global log file.
More...
#include <Loggable.h>
|
virtual void | Log ()=0 |
| Logs data to the Logger.
|
|
|
template<typename T > |
void | LogToFile (T *field, std::string name) |
| Saves a variable to the Logger for logging.
|
|
template<typename T > |
void | LogToFile (T *field, int count, std::string name) |
| Saves a dynamically allocated array to the Logger for logging.
|
|
template<typename T > |
void | LogToFile (T value, std::string name) |
| Saves a value to the Logger for logging.
|
|
Base class for classes that can log to the global log file.
template<typename T >
void Loggable::LogToFile |
( |
T * |
field, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Saves a variable to the Logger for logging.
- Parameters
-
field | pointer to the variable |
name | name of the field |
template<typename T >
void Loggable::LogToFile |
( |
T * |
field, |
|
|
int |
count, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Saves a dynamically allocated array to the Logger for logging.
- Parameters
-
field | pointer to the variable |
count | number of elements from the array pointer to log |
name | name of the field |
template<typename T >
void Loggable::LogToFile |
( |
T |
value, |
|
|
std::string |
name |
|
) |
| |
|
inlineprotected |
Saves a value to the Logger for logging.
- Parameters
-
value | value to log |
name | name of the field |
The documentation for this class was generated from the following files: