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