summaryrefslogtreecommitdiff
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 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");
29void FormatLogMessage(const Entry& entry, char* out_text, size_t text_len); 29void FormatLogMessage(const Entry& entry, char* out_text, size_t text_len);
30/// Formats and prints a log entry to stderr. 30/// Formats and prints a log entry to stderr.
31void PrintMessage(const Entry& entry); 31void PrintMessage(const Entry& entry);
32/// Prints the same message as `PrintMessage`, but colored acoording to the severity level.
33void PrintColoredMessage(const Entry& entry);
32 34
33/** 35/**
34 * Logging loop that repeatedly reads messages from the provided logger and prints them to the 36 * Logging loop that repeatedly reads messages from the provided logger and prints them to the