persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
logger.hpp
Go to the documentation of this file.
1
6
7#pragma once
8#include <cstdio>
9#include <nds.h>
10#include <source_location>
11#include <string_view>
12
20
30void logMessage(LogSeverity severity,
31 std::string_view message,
32 std::source_location location = std::source_location::current());
33
37void clearLog();
LogSeverity
Definition logger.hpp:14
void logMessage(LogSeverity severity, std::string_view message, std::source_location location=std::source_location::current())
Logs a diagnostic message and halts only for fatal messages.
Definition logger.cpp:110
void clearLog()
Clears the log file for a fresh game session.
Definition logger.cpp:97