summaryrefslogtreecommitdiffstats
path: root/src/common/logging
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-04 16:49:06 +0200
committerLioncash <mathew1800@gmail.com>2018-09-04 16:49:08 +0200
commit6ef84f1c4c6ca66ec28be210ef14913187af4424 (patch)
treedc16d7523a1785a0bd35f79cc53fdbdc6b6e7bcf /src/common/logging
parentcommon/logging/filter: Replace C-style case with C++ static_cast (diff)
downloadyuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar.gz
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar.bz2
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar.lz
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar.xz
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.tar.zst
yuzu-6ef84f1c4c6ca66ec28be210ef14913187af4424.zip
Diffstat (limited to 'src/common/logging')
-rw-r--r--src/common/logging/log.h10
-rw-r--r--src/common/logging/text_formatter.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index e12f47f8f..4d577524f 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -12,14 +12,14 @@ namespace Log {
/// Specifies the severity or level of detail of the log message.
enum class Level : u8 {
Trace, ///< Extremely detailed and repetitive debugging information that is likely to
- /// pollute logs.
+ ///< pollute logs.
Debug, ///< Less detailed debugging information.
Info, ///< Status information from important points during execution.
Warning, ///< Minor or potential problems found during execution of a task.
Error, ///< Major problems found during execution of a task that prevent it from being
- /// completed.
- Critical, ///< Major problems during execution that threathen the stability of the entire
- /// application.
+ ///< completed.
+ Critical, ///< Major problems during execution that threaten the stability of the entire
+ ///< application.
Count ///< Total number of logging levels
};
@@ -49,7 +49,7 @@ enum class Class : ClassType {
Kernel, ///< The HLE implementation of the CTR kernel
Kernel_SVC, ///< Kernel system calls
Service, ///< HLE implementation of system services. Each major service
- /// should have its own subclass.
+ ///< should have its own subclass.
Service_ACC, ///< The ACC (Accounts) service
Service_AM, ///< The AM (Applet manager) service
Service_AOC, ///< The AOC (AddOn Content) service
diff --git a/src/common/logging/text_formatter.h b/src/common/logging/text_formatter.h
index 9609cec7c..b6d9e57c8 100644
--- a/src/common/logging/text_formatter.h
+++ b/src/common/logging/text_formatter.h
@@ -15,6 +15,6 @@ struct Entry;
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 acoording to the severity level.
+/// Prints the same message as `PrintMessage`, but colored according to the severity level.
void PrintColoredMessage(const Entry& entry);
} // namespace Log