mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-29 16:09:10 +00:00
24 lines
372 B
C
24 lines
372 B
C
|
#ifndef LOGGING_H
|
||
|
#define LOGGING_H
|
||
|
|
||
|
#include <optional>
|
||
|
|
||
|
#include "fsutils.h"
|
||
|
|
||
|
enum class Libvideo2xLogLevel {
|
||
|
Unknown,
|
||
|
Trace,
|
||
|
Debug,
|
||
|
Info,
|
||
|
Warning,
|
||
|
Error,
|
||
|
Critical,
|
||
|
Off
|
||
|
};
|
||
|
|
||
|
void set_log_level(Libvideo2xLogLevel log_level);
|
||
|
|
||
|
std::optional<Libvideo2xLogLevel> find_log_level_by_name(const StringType &log_level_name);
|
||
|
|
||
|
#endif // LOGGING_H
|