diff options
Diffstat (limited to 'src/common/logging')
| -rw-r--r-- | src/common/logging/backend.cpp | 2 | ||||
| -rw-r--r-- | src/common/logging/backend.h | 2 | ||||
| -rw-r--r-- | src/common/logging/filter.cpp | 2 | ||||
| -rw-r--r-- | src/common/logging/filter.h | 2 | ||||
| -rw-r--r-- | src/common/logging/text_formatter.cpp | 2 | ||||
| -rw-r--r-- | src/common/logging/text_formatter.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index ba0acfb72..e136482b6 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -132,4 +132,4 @@ void LogMessage(Class log_class, Level log_level, const char* filename, unsigned | |||
| 132 | 132 | ||
| 133 | PrintColoredMessage(entry); | 133 | PrintColoredMessage(entry); |
| 134 | } | 134 | } |
| 135 | } | 135 | } // namespace Log |
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index c4fe2acbf..70744e3e5 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h | |||
| @@ -47,4 +47,4 @@ Entry CreateEntry(Class log_class, Level log_level, const char* filename, unsign | |||
| 47 | const char* function, const char* format, va_list args); | 47 | const char* function, const char* format, va_list args); |
| 48 | 48 | ||
| 49 | void SetFilter(Filter* filter); | 49 | void SetFilter(Filter* filter); |
| 50 | } | 50 | } // namespace Log |
diff --git a/src/common/logging/filter.cpp b/src/common/logging/filter.cpp index 12e5bb45d..733247b51 100644 --- a/src/common/logging/filter.cpp +++ b/src/common/logging/filter.cpp | |||
| @@ -94,4 +94,4 @@ bool Filter::ParseFilterRule(const std::string::const_iterator begin, | |||
| 94 | bool Filter::CheckMessage(Class log_class, Level level) const { | 94 | bool Filter::CheckMessage(Class log_class, Level level) const { |
| 95 | return static_cast<u8>(level) >= static_cast<u8>(class_levels[static_cast<size_t>(log_class)]); | 95 | return static_cast<u8>(level) >= static_cast<u8>(class_levels[static_cast<size_t>(log_class)]); |
| 96 | } | 96 | } |
| 97 | } | 97 | } // namespace Log |
diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index b51df61de..16fa72642 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h | |||
| @@ -50,4 +50,4 @@ public: | |||
| 50 | private: | 50 | private: |
| 51 | std::array<Level, (size_t)Class::Count> class_levels; | 51 | std::array<Level, (size_t)Class::Count> class_levels; |
| 52 | }; | 52 | }; |
| 53 | } | 53 | } // namespace Log |
diff --git a/src/common/logging/text_formatter.cpp b/src/common/logging/text_formatter.cpp index f71e748d1..e7e46c76b 100644 --- a/src/common/logging/text_formatter.cpp +++ b/src/common/logging/text_formatter.cpp | |||
| @@ -129,4 +129,4 @@ void PrintColoredMessage(const Entry& entry) { | |||
| 129 | #undef ESC | 129 | #undef ESC |
| 130 | #endif | 130 | #endif |
| 131 | } | 131 | } |
| 132 | } | 132 | } // namespace Log |
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h index 749268310..66e86d9ec 100644 --- a/src/common/logging/text_formatter.h +++ b/src/common/logging/text_formatter.h | |||
| @@ -28,4 +28,4 @@ void FormatLogMessage(const Entry& entry, char* out_text, size_t text_len); | |||
| 28 | void PrintMessage(const Entry& entry); | 28 | void PrintMessage(const Entry& entry); |
| 29 | /// Prints the same message as `PrintMessage`, but colored acoording to the severity level. | 29 | /// Prints the same message as `PrintMessage`, but colored acoording to the severity level. |
| 30 | void PrintColoredMessage(const Entry& entry); | 30 | void PrintColoredMessage(const Entry& entry); |
| 31 | } | 31 | } // namespace Log |