YggdrasilWM  0.1.1
A tiny window manager coded in C++
Logger.hpp File Reference

Logger class header. More...

#include <string>
#include <iostream>
#include <iomanip>
#include <ctime>
#include <sstream>
#include <fstream>
#include <memory>
#include <mutex>
Include dependency graph for Logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Logger
 Logger class This class is responsible for logging. It can be created with a file name or an ostream. The log level can be set to filter the messages. More...
 

Enumerations

enum  LogLevel { L_INFO , L_WARNING , L_ERROR }
 Log levels L_INFO: Informational messages L_WARNING: Warning messages L_ERROR: Error messages. More...
 

Detailed Description

Logger class header.

Yb dP 8 w 8 Yb dP 8b d8 YbdP .d88 .d88 .d88 8d8b .d88 d88b w 8 Yb db dP 8YbmdP8 YP 8 8 8 8 8 8 8P 8 8 Yb. 8 8 YbdPYbdP 8 " 8 88Y88 Y88Y88 8 `Y88 Y88P 8 8 YP YP 8 8 wwdP wwdP Yggdrasil Window Manager https://github.com/corecaps/YggdrasilWM Copyright (C) 2024 jgarcia jgarc.nosp@m.ia@s.nosp@m.tuden.nosp@m.t.42.nosp@m..fr corec.nosp@m.aps@.nosp@m.gmail.nosp@m..com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Date
2024-02-06 This class is responsible for logging. It can be created with a file name or an ostream. The log level can be set to filter the messages.

Enumeration Type Documentation

◆ LogLevel

enum LogLevel

Log levels L_INFO: Informational messages L_WARNING: Warning messages L_ERROR: Error messages.

Enumerator
L_INFO 
L_WARNING 
L_ERROR 
48  {
49  L_INFO,
50  L_WARNING,
51  L_ERROR,
52 };
@ L_ERROR
Definition: Logger.hpp:51
@ L_WARNING
Definition: Logger.hpp:50
@ L_INFO
Definition: Logger.hpp:49