aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/logging/text_formatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/logging/text_formatter.h')
-rw-r--r--src/common/logging/text_formatter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h
index d7e298e2..1f73ca44 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