Go to the documentation of this file.
11 #define LOG_PERIOD SEC_TO_MILLIS(1)
25 std::vector<ILoggable*>
logs;
void update() override
Updates the class.
static Logger * getInstance()
Returns the instance of the class.
static Logger * instance
the instance of the class
Logger & operator=(Logger const &)
Assignment operator of the class.
TimePeriod timePeriod
time period for recognizing when the log should be printed out
Logger(Logger const &)
Copy constructor of the class.
void addEntity(ILoggable *log)
Adds another class to the logging system.
#define LOG_PERIOD
how often the log will be printed out
Logger()
Constructor of the class.
std::vector< ILoggable * > logs
collection of classes that are registered in the logging system