File EasyLogging.hpp
FileList > core > EasyLogging.hpp
Go to the source code of this file
#include <fstream>
#include <iostream>
#include <map>
#include <sstream>
Namespaces
Type | Name |
---|---|
namespace | clogged Tools for debug-logging that can be easily controlled. |
Classes
Type | Name |
---|---|
class | Logger Logger class with colors and team names. |
Macros
Type | Name |
---|---|
define | LOGLINE "File: " << __FILE__ << "::->::Line(" << __LINE__ << ")" Ensure that we only log when NDEBUG flg is not set. |
define | LOG_FNC "Function: " << __func__ << " " |
define | LOG_RELLINE "File: " << RELATIVE_PATH(__FILE__) << "::->::Line(" << __LINE__ << ")" |
define | RELATIVE_PATH (file) |
Macro Definition Documentation
define LOGLINE
#define LOGLINE "File: " << __FILE__ << "::->::Line(" << __LINE__ << ")"
define LOG_FNC
#define LOG_FNC "Function: " << __func__ << " "
define LOG_RELLINE
#define LOG_RELLINE "File: " << RELATIVE_PATH(__FILE__) << "::->::Line(" << __LINE__ << ")"
define RELATIVE_PATH
#define RELATIVE_PATH (
file
) (std::string(file).find_last_of("/\\") != std::string::npos \
? std::string(file).substr(std::string(file).find_last_of("/\\") + 1) \
: std::string(file))
The documentation for this class was generated from the following file source/core/EasyLogging.hpp