API Documentation
LogManager.h
1 // LogManager.h
3 //
5 
6 namespace nkWinUi
7 {
13  class DLL_WINUI_EXPORT LogManager final : 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 (const nkMemory::StringView& message, const nkMemory::StringView& className) ;
39  } ;
40 }
nkWinUi::LogManager::setReceiver
void setReceiver(nkLog::Logger *receiver)
nkWinUi::LogManager::log
void log(const nkMemory::StringView &message, const nkMemory::StringView &className)
nkWinUi::LogManager::getReceiver
nkLog::Logger * getReceiver() const
nkWinUi::LogManager
Responsible for logging all messages from the component.
Definition: LogManager.h:14
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
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7