diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-14 05:09:56 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-14 05:10:41 +0100 |
commit | ac87c3b0d07427d27cc6afa3c9a736721e041e54 (patch) | |
tree | b4f98b08605b4c82f8084e7fb7c84798612ba1e9 /src/common/logging/text_formatter.h | |
parent | Merge pull request #274 from lioncash/kernel (diff) | |
download | yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar.gz yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar.bz2 yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar.lz yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar.xz yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.tar.zst yuzu-ac87c3b0d07427d27cc6afa3c9a736721e041e54.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/logging/text_formatter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h index d7e298e28..1f73ca44a 100644 --- a/src/common/logging/text_formatter.h +++ b/src/common/logging/text_formatter.h @@ -29,6 +29,8 @@ const char* TrimSourcePath(const char* path, const char* root = "src"); void FormatLogMessage(const Entry& entry, char* out_text, size_t text_len); /// Formats and prints a log entry to stderr. void PrintMessage(const Entry& entry); +/// Prints the same message as `PrintMessage`, but colored acoording to the severity level. +void PrintColoredMessage(const Entry& entry); /** * Logging loop that repeatedly reads messages from the provided logger and prints them to the |