AeonGUI
A portable video game graphic user interface library.
Loading...
Searching...
No Matches
LogLevel.hpp File Reference

Defines log severity levels and stream output for AeonGUI. More...

#include <iostream>
Include dependency graph for LogLevel.hpp:

Go to the source code of this file.

Enumerations

enum class  AeonGUI::LogLevel { Debug = 0 , Info , Warning , Error }
 Severity levels for log messages. More...

Functions

std::ostream & AeonGUI::operator<< (std::ostream &os, LogLevel level)
 Inserts a color-coded log level tag into an output stream.

Detailed Description

Defines log severity levels and stream output for AeonGUI.

Enumeration Type Documentation

◆ LogLevel

enum class AeonGUI::LogLevel
strong

Severity levels for log messages.

Enumerator
Debug 

Detailed diagnostic information.

Info 

General informational messages.

Warning 

Potential issues that may need attention.

Error 

Error conditions.

Function Documentation

◆ operator<<()

std::ostream & AeonGUI::operator<< ( std::ostream & os,
LogLevel level )
inline

Inserts a color-coded log level tag into an output stream.

Parameters
osThe output stream.
levelThe log level to format.
Returns
Reference to the output stream.