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