Encompasses all API of component NilkinsLog.
This component centralizes capabilities for logging information. It is used in all other components to log any information that needs to be inspected. Check how a nkLog::Logger has to be implemented. Implementing such a class means it can be plugged into all components of the engine, as such :
// Instantiate the logger, lifetime is managed by the client application
MyLogger logger ;
// Such a logger, if inheriting from the
nkLog::Logger, can easily be injected
nkInputs::LogManager::getInstance()->setReceiver(&logger) ;
nkWinUi::LogManager::getInstance()->setReceiver(&logger) ;
nkGraphics::LogManager::getInstance()->setReceiver(&logger) ;
...
// Keep in mind, however, that the loggers need to outlive the log managers or be reset with nullptr before they get deleted