sculpto
log.cpp
Go to the documentation of this file.
1/*!****************************************************************//*!*
2 * \file log.cpp
3 * \brief Logging system implementation module.
4 *
5 * \author Sabitov Kirill
6 * \date 23 June 2022
7 *********************************************************************/
8
9#include "sclpch.h"
10#include "log.h"
11
12scl::shared<scl::logger> scl::log::CoreLogger;
13scl::shared<scl::logger> scl::log::ClientLogger;
14
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}
static void Init()
Definition: log.cpp:15
Logging system definition module.
#define SCL_CORE_SUCCES(...)
Definition: log.h:42
std::shared_ptr< T > shared
Definition: smart_ptr.h:15
Sculpto library prehompiled header. Defines common definitions, includes commonly used modules.