mirror of
https://github.com/Lime3DS/Lime3DS
synced 2025-01-09 13:43:27 +00:00
29 lines
644 B
C++
29 lines
644 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <cstdarg>
|
|
#include <string>
|
|
#include <utility>
|
|
#include "common/logging/log.h"
|
|
|
|
namespace Log {
|
|
|
|
class Filter;
|
|
|
|
/**
|
|
* Returns the name of the passed log class as a C-string. Subclasses are separated by periods
|
|
* instead of underscores as in the enumeration.
|
|
*/
|
|
const char* GetLogClassName(Class log_class);
|
|
|
|
/**
|
|
* Returns the name of the passed log level as a C-string.
|
|
*/
|
|
const char* GetLevelName(Level log_level);
|
|
|
|
void SetFilter(Filter* filter);
|
|
} // namespace Log
|