API Documentation
LogManager.h
1 // LogManager.h
3 //
5 
6 namespace nkResources
7 {
14  class LogManager final : public nkCommon::SingletonClass<LogManager>
15  {
16  public :
17 
18  // Setters
24  void setReceiver (nkLog::Logger* receiver) ;
25 
26  // Getters
31 
32  // Log
39  void log (nkMemory::StringView message, nkMemory::StringView className) ;
40  } ;
41 }
nkResources::LogManager::log
void log(nkMemory::StringView message, nkMemory::StringView className)
nkResources::LogManager
The log manager class attached to this component.
Definition: LogManager.h:15
nkResources::LogManager::getReceiver
nkLog::Logger * getReceiver() const
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkLog::Logger
An interface to make all logging capabilities central.
Definition: Logger.h:15
nkResources::LogManager::setReceiver
void setReceiver(nkLog::Logger *receiver)
nkResources
Encompasses all API of component NilkinsResources.
Definition: LogManager.h:7