6ef84f1c4c
Multi-line doc comments still need the '<' after the ///, otherwise it's treated as a regular comment and makes the original doc comment broken in viewers, IDEs, etc. While we're at it, also fix some typos in the comments.
21 lines
561 B
C++
21 lines
561 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 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);
|
|
} // namespace Log
|