myproject 0.0.0
%%description%%
Loading...
Searching...
No Matches
myproject::Logger Class Referencefinal

The Logger class is a singleton that manages the application logging. More...

#include <logger.h>

Inheritance diagram for myproject::Logger:
[legend]
Collaboration diagram for myproject::Logger:
[legend]

Public Member Functions

 Logger ()
 
 Logger (const Logger &)=delete
 
Loggeroperator= (const Logger &)=delete
 
 Logger (Logger &&)=delete
 
Loggeroperator= (Logger &&)=delete
 
 ~Logger ()
 
void initLogger ()
 Creates SPDLOG logger with multiple sinks (console + file).
 
- Public Member Functions inherited from myproject::Singleton< Logger >
 Singleton ()=default
 
 Singleton (const Singleton &)=delete
 
 Singleton (Singleton &&)=delete
 
 ~Singleton ()=default
 
Singletonoperator= (const Singleton &)=delete
 
Singletonoperator= (Singleton &&)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from myproject::Singleton< Logger >
static Loggerinstance ()
 

Detailed Description

The Logger class is a singleton that manages the application logging.

Constructor & Destructor Documentation

◆ Logger() [1/3]

myproject::Logger::Logger ( )
inline
Here is the call graph for this function:

◆ Logger() [2/3]

myproject::Logger::Logger ( const Logger & )
delete

◆ Logger() [3/3]

myproject::Logger::Logger ( Logger && )
delete

◆ ~Logger()

myproject::Logger::~Logger ( )
inline

Member Function Documentation

◆ initLogger()

void myproject::Logger::initLogger ( )
inline

Creates SPDLOG logger with multiple sinks (console + file).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

Logger & myproject::Logger::operator= ( const Logger & )
delete

◆ operator=() [2/2]

Logger & myproject::Logger::operator= ( Logger && )
delete

The documentation for this class was generated from the following file: