![]() |
Copperfield Engine 0.1
C++ Game Engine
|
Class used for globally printing messages and storing them to a file. More...
#include <log.hpp>
Public Member Functions | |
| Log ()=default | |
| Default constructor. | |
| Log (const Log &other)=delete | |
| Copy constructor (deleted). | |
| Log (Log &&other)=delete | |
| Move constructor (deleted). | |
| Log & | operator= (Log &other)=delete |
| Copy assignment operator (deleted). | |
| Log & | operator= (Log &&other)=delete |
| Move assignment operator (deleted). | |
Static Public Member Functions | |
| static void | newLog (std::string text, LogColor textcolor=LogColor::White) |
| Add a new log entry. More... | |
Class used for globally printing messages and storing them to a file.
|
static |
Add a new log entry.
| text | The text to be included in the log. |
| textcolor | The color of the text. |