19#ifndef AEONGAMES_LOGLEVEL_H
20#define AEONGAMES_LOGLEVEL_H
45 os <<
"\x1B[34m" <<
"[DEBUG]" <<
"\x1B[m ";
48 os <<
"\x1B[32m" <<
"[INFO]" <<
"\x1B[m ";
51 os <<
"\x1B[35m" <<
"[PERFORMANCE]" <<
"\x1B[m ";
54 os <<
"\x1B[33m" <<
"[WARNING]" <<
"\x1B[m ";
57 os <<
"\x1B[31m" <<
"[ERROR]" <<
"\x1B[m ";
<- This is here just for the literals
std::ostream & operator<<(std::ostream &os, LogLevel level)
Inserts a color-coded log level tag into an output stream.
LogLevel
Severity levels for engine log messages.
@ Warning
Potential issues that may need attention.
@ Info
General informational messages.
@ Performance
Performance-related metrics.
@ Debug
Detailed diagnostic information.