From 603e629bc73504bcceab8acb375e7ead5379e90d Mon Sep 17 00:00:00 2001 From: Pablo Escobar <mail@rvrs.in> Date: Wed, 18 Mar 2020 23:02:03 +0100 Subject: [PATCH] update spdlog --- ext/spdlog | 2 +- liblava/frame/frame.cpp | 2 +- liblava/util/log.hpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/spdlog b/ext/spdlog index a51b4856..2c5c96e1 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 fee1e647..47eb04a1 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 b6e61dab..b3c3bab1 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 { -- GitLab