Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Log Class Reference

#include <Logger.h>

Public Member Functions

 Log (const Log &)=delete
 
 Log (Log &&)=delete
 
Logoperator= (const Log &)=delete
 
Logoperator= (Log &&)=delete
 
void Init (const std::string &plugin_name)
 

Static Public Member Functions

static LogGet ()
 
static std::shared_ptr< spdlog::logger > & GetLog ()
 

Private Member Functions

 Log ()=default
 
 ~Log ()=default
 

Private Attributes

std::shared_ptr< spdlog::loggerlogger_
 

Detailed Description

Definition at line 8 of file Logger.h.

Constructor & Destructor Documentation

◆ Log() [1/3]

Log::Log ( const Log & )
delete

◆ Log() [2/3]

Log::Log ( Log && )
delete

◆ Log() [3/3]

Log::Log ( )
privatedefault

◆ ~Log()

Log::~Log ( )
privatedefault

Member Function Documentation

◆ Get()

static Log & Log::Get ( )
inlinestatic

Definition at line 16 of file Logger.h.

+ Here is the caller graph for this function:

◆ GetLog()

static std::shared_ptr< spdlog::logger > & Log::GetLog ( )
inlinestatic

Definition at line 22 of file Logger.h.

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

◆ Init()

void Log::Init ( const std::string & plugin_name)
inline

Definition at line 27 of file Logger.h.

+ Here is the call graph for this function:

◆ operator=() [1/2]

Log & Log::operator= ( const Log & )
delete

◆ operator=() [2/2]

Log & Log::operator= ( Log && )
delete

Member Data Documentation

◆ logger_

std::shared_ptr<spdlog::logger> Log::logger_
private

Definition at line 41 of file Logger.h.


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