MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
Commentator.hpp File Reference
#include <source_location>
#include <string_view>
+ Include dependency graph for Commentator.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Lila::Commentator
 Centralized, thread-safe logging and announcement system for Lila. More...
 

Namespaces

namespace  Lila
 
namespace  Colors
 ANSI color codes for terminal output.
 
namespace  Lila::Colors
 

Macros

#define LILA_TRACE(emitter, msg)   ::Lila::Commentator::instance().trace(emitter, msg)
 
#define LILA_DEBUG(emitter, msg)   ::Lila::Commentator::instance().debug(emitter, msg)
 
#define LILA_INFO(emitter, msg)   ::Lila::Commentator::instance().info(emitter, msg)
 
#define LILA_WARN(emitter, msg)   ::Lila::Commentator::instance().warn(emitter, msg)
 
#define LILA_ERROR(emitter, msg)   ::Lila::Commentator::instance().error(emitter, msg)
 
#define LILA_FATAL(emitter, msg)   ::Lila::Commentator::instance().fatal(emitter, msg)
 

Variables

constexpr std::string_view Lila::Colors::Reset = "\033[0m"
 
constexpr std::string_view Lila::Colors::Red = "\033[31m"
 
constexpr std::string_view Lila::Colors::Green = "\033[32m"
 
constexpr std::string_view Lila::Colors::Yellow = "\033[33m"
 
constexpr std::string_view Lila::Colors::Blue = "\033[34m"
 
constexpr std::string_view Lila::Colors::Magenta = "\033[35m"
 
constexpr std::string_view Lila::Colors::Cyan = "\033[36m"
 
constexpr std::string_view Lila::Colors::BrightRed = "\033[91m"
 
constexpr std::string_view Lila::Colors::BrightBlue = "\033[94m"