diff --git a/ext/spdlog b/ext/spdlog index a51b4856377a71f81b6d74b9af459305c4c644f8..2c5c96e1595b01dee19353dac846091e20371429 160000 --- a/ext/spdlog +++ b/ext/spdlog @@ -1 +1 @@ -Subproject commit a51b4856377a71f81b6d74b9af459305c4c644f8 +Subproject commit 2c5c96e1595b01dee19353dac846091e20371429 diff --git a/liblava/frame/frame.cpp b/liblava/frame/frame.cpp index fee1e6475cad58c644c115d7d63f91f6f5877b47..47eb04a18c16433f86808c8272afb44c22919164 100644 --- a/liblava/frame/frame.cpp +++ b/liblava/frame/frame.cpp @@ -125,7 +125,7 @@ bool frame::setup(frame_config c) { log_command_line(cmd_line); if (config.log.level >= 0) - log()->info("log {}", spdlog::level::to_str((spdlog::level::level_enum)config.log.level)); + log()->info("log {}", spdlog::level::to_string_view((spdlog::level::level_enum)config.log.level)); glfwSetErrorCallback([](i32 error, name description) { diff --git a/liblava/util/log.hpp b/liblava/util/log.hpp index b6e61dabbf3cff2ca378b1432c9266662dc946cf..b3c3bab1ab5ffeac2ed1435e2c1abb6e35096e04 100644 --- a/liblava/util/log.hpp +++ b/liblava/util/log.hpp @@ -8,8 +8,8 @@ #include <liblava/core/version.hpp> #include <spdlog/spdlog.h> -#include <spdlog/sinks/stdout_sinks.h> -#include <spdlog/sinks/file_sinks.h> +#include <spdlog/sinks/stdout_color_sinks.h> +#include <spdlog/sinks/basic_file_sink.h> namespace lava {