video2x/include/libvideo2x/logging.h

21 lines
318 B
C
Raw Permalink Normal View History

#pragma once
#include <optional>
#include "fsutils.h"
enum class Video2xLogLevel {
Unknown,
Trace,
Debug,
Info,
Warning,
Error,
Critical,
Off
};
void set_log_level(Video2xLogLevel log_level);
std::optional<Video2xLogLevel> find_log_level_by_name(const StringType &log_level_name);