GitHub Viewer
#include "expresscpp/console.hpp"
#include
#ifdef EXPRESSCPP_USE_STACKTRACE
#include "boost/stacktrace.hpp"
#endif
#include "expresscpp/date.hpp"
#include "expresscpp/impl/utils.hpp"
namespace expresscpp {
std::mutex Console::mutex_;
LogLevel Console::log_level_ = LogLevel::kError;
#if defined(__cpp_lib_source_location) || defined(__cpp_lib_experimental_source_location)
void Console::PrintMessage(const std::string_view prefix, const std::string_view color, const std::string_view message,
const std::experimental::source_location &location) {
std::cout