#include "log.hpp" #include #include namespace atlas::script::module::debug { void log(const std::string& category, const std::string& message) { // get the current time auto now = std::chrono::system_clock::now(); // display it into the standard output std::cout << std::format( "[{:%Y-%m-%dT%H:%M:%S}] ({}) {}", now, category, message ) << std::endl; } }