sculpto
Static Public Member Functions | List of all members
scl::log Class Reference

#include <log.h>

Static Public Member Functions

static void Init ()
 
static shared<::scl::logger > & GetCoreLogger ()
 
static shared<::scl::logger > & GetClientLogger ()
 

Detailed Description

Logging system class.

Definition at line 17 of file log.h.

Member Function Documentation

◆ GetClientLogger()

static shared<::scl::logger > & scl::log::GetClientLogger ( )
inlinestatic

Sculpto library client application logger getter function.

Definition at line 37 of file log.h.

37{ return ClientLogger; }

◆ GetCoreLogger()

static shared<::scl::logger > & scl::log::GetCoreLogger ( )
inlinestatic

Sculpto library core logger getter function.

Definition at line 35 of file log.h.

35{ return CoreLogger; }

◆ Init()

void scl::log::Init ( )
static
  • Logger initialisation function.
Parameters
None.
Returns
None.

Definition at line 15 of file log.cpp.

16{
17 CoreLogger = std::make_shared<scl::logger>("Core");
18 ClientLogger = std::make_shared<scl::logger>("Client");
19
20 SCL_CORE_SUCCES("Logging system initialized.");
21}
#define SCL_CORE_SUCCES(...)
Definition: log.h:42

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