mirror of
https://github.com/starr-dusT/citra.git
synced 2024-10-02 10:26:17 -07:00

Forgot to move this over when I moved the rest of the source files with lacking namespaces over.
23 lines
682 B
C++
23 lines
682 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include <string>
|
|
|
|
namespace Common::Log {
|
|
|
|
struct Entry;
|
|
|
|
/// Formats a log entry into the provided text buffer.
|
|
std::string FormatLogMessage(const Entry& entry);
|
|
/// Formats and prints a log entry to stderr.
|
|
void PrintMessage(const Entry& entry);
|
|
/// Prints the same message as `PrintMessage`, but colored according to the severity level.
|
|
void PrintColoredMessage(const Entry& entry);
|
|
/// Formats and prints a log entry to the android logcat.
|
|
void PrintMessageToLogcat(const Entry& entry);
|
|
} // namespace Common::Log
|