mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-01 01:01:19 -06:00
18 lines
263 B
C++
18 lines
263 B
C++
#include <os/logger.h>
|
|
|
|
void os::logger::Init()
|
|
{
|
|
}
|
|
|
|
void os::logger::Log(const std::string_view str, ELogType type, const char* func)
|
|
{
|
|
if (func)
|
|
{
|
|
fmt::println("[{}] {}", func, str);
|
|
}
|
|
else
|
|
{
|
|
fmt::println("{}", str);
|
|
}
|
|
}
|