API Documentation
LogManager.h
1 // LogManager.h
3 //
5 
6 namespace nkMemory
7 {
13  class LogManager final : public nkCommon::SingletonClass<LogManager>
14  {
15  public :
16 
17  // Getters
22 
23  // Setters
29  void setReceiver (nkLog::Logger* receiver) ;
30 
31  // Log
38  void log (StringView message, StringView className) ;
39  } ;
40 }
nkMemory::LogManager
Responsible for logging all messages from the component.
Definition: LogManager.h:14
nkMemory::LogManager::log
void log(StringView message, StringView className)
nkMemory::LogManager::setReceiver
void setReceiver(nkLog::Logger *receiver)
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
nkMemory::LogManager::getReceiver
nkLog::Logger * getReceiver() const
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7