mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
fmt::to_udec(), fmt::to_sdec()
This commit is contained in:
parent
0d28f378a7
commit
3428499492
4 changed files with 66 additions and 21 deletions
|
@ -237,16 +237,15 @@ LogChannel &LogManager::getChannel(LogType type)
|
|||
}
|
||||
|
||||
void log_message(Log::LogType type, Log::LogSeverity sev, const char* text)
|
||||
{
|
||||
log_message(type, sev, std::string(text));
|
||||
}
|
||||
|
||||
void log_message(Log::LogType type, Log::LogSeverity sev, std::string text)
|
||||
{
|
||||
//another msvc bug makes this not work, uncomment this and delete everything else in this function when it's fixed
|
||||
//Log::LogManager::getInstance().log({logType, severity, text})
|
||||
|
||||
Log::LogMessage msg{ type, sev, text };
|
||||
Log::LogManager::getInstance().log(msg);
|
||||
}
|
||||
|
||||
void log_message(Log::LogType type, Log::LogSeverity sev, const std::string& text)
|
||||
{
|
||||
Log::LogMessage msg{ type, sev, text };
|
||||
Log::LogMessage msg{ type, sev, std::move(text) };
|
||||
Log::LogManager::getInstance().log(msg);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue