mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[Logs] Use std::string_view for msg
This commit is contained in:
parent
86d059ddd1
commit
50a6d1a074
2 changed files with 5 additions and 5 deletions
|
|
@ -168,8 +168,8 @@ void log_class_string<bool>::format(std::string &out, const void *arg) {
|
|||
out += get_object(arg) ? "1" : "0";
|
||||
}
|
||||
|
||||
void _orbis_log_print(LogLevel lvl, const char *msg, std::string_view names,
|
||||
const log_type_info *sup, ...) {
|
||||
void _orbis_log_print(LogLevel lvl, std::string_view msg,
|
||||
std::string_view names, const log_type_info *sup, ...) {
|
||||
if (lvl > logs_level.load(std::memory_order::relaxed)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue