mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Rename DevMsg logger
Renamed to 'sdk'.
This commit is contained in:
parent
986c194703
commit
b9bf4195a0
@ -64,13 +64,13 @@ void SpdLog_Init(void)
|
||||
void SpdLog_Create()
|
||||
{
|
||||
/************************
|
||||
* ROTATE LOGGER SETUP *
|
||||
* ROTATE LOGGER SETUP *
|
||||
************************/
|
||||
spdlog::rotating_logger_mt<spdlog::synchronous_factory>("squirrel_re(warning)"
|
||||
, fmt::format("{:s}{:s}", g_svLogSessionDirectory, "script_warning.log"), SPDLOG_MAX_SIZE, SPDLOG_NUM_FILE)->set_pattern("[%Y-%m-%d %H:%M:%S.%e] %v");
|
||||
spdlog::rotating_logger_mt<spdlog::synchronous_factory>("squirrel_re"
|
||||
, fmt::format("{:s}{:s}", g_svLogSessionDirectory, "script.log"), SPDLOG_MAX_SIZE, SPDLOG_NUM_FILE)->set_pattern("[%Y-%m-%d %H:%M:%S.%e] %v");
|
||||
spdlog::rotating_logger_mt<spdlog::synchronous_factory>("sdk(message)"
|
||||
spdlog::rotating_logger_mt<spdlog::synchronous_factory>("sdk"
|
||||
, fmt::format("{:s}{:s}", g_svLogSessionDirectory, "message.log"), SPDLOG_MAX_SIZE, SPDLOG_NUM_FILE)->set_pattern("[%Y-%m-%d %H:%M:%S.%e] %v");
|
||||
spdlog::rotating_logger_mt<spdlog::synchronous_factory>("sdk(warning)"
|
||||
, fmt::format("{:s}{:s}", g_svLogSessionDirectory, "warning.log"), SPDLOG_MAX_SIZE, SPDLOG_NUM_FILE)->set_pattern("[%Y-%m-%d %H:%M:%S.%e] %v");
|
||||
|
@ -398,7 +398,7 @@ void DevMsg(eDLL_T context, const char* fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
va_start(args, fmt);
|
||||
CoreMsgV(LogType_t::LOG_INFO, LogLevel_t::LEVEL_NOTIFY, context, "sdk(message)", fmt, args);
|
||||
CoreMsgV(LogType_t::LOG_INFO, LogLevel_t::LEVEL_NOTIFY, context, "sdk", fmt, args);
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user