summaryrefslogtreecommitdiff
path: root/common/log.h
diff options
context:
space:
mode:
authorRichard Kiss <him@richardkiss.com>2023-12-12 01:53:36 -0800
committerGitHub <noreply@github.com>2023-12-12 11:53:36 +0200
commit9494d7c4774ab745490b5a19570ff7747a194143 (patch)
treeec70be73a544a7cf30a17a0430b87d89a269d188 /common/log.h
parent6138963fb232cbae70c9d181db0ba125708f473d (diff)
english : use `typos` to fix comments and logs (#4354)
Diffstat (limited to 'common/log.h')
-rw-r--r--common/log.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/log.h b/common/log.h
index c0e81486..e4e1b9f4 100644
--- a/common/log.h
+++ b/common/log.h
@@ -61,13 +61,13 @@
// #define LOG_TARGET stderr
// #include "log.h"
//
-// The log target can also be redirected to a diffrent function
+// The log target can also be redirected to a different function
// like so:
//
-// #define LOG_TARGET log_handler_diffrent()
+// #define LOG_TARGET log_handler_different()
// #include "log.h"
//
-// FILE* log_handler_diffrent()
+// FILE* log_handler_different()
// {
// return stderr;
// }
@@ -421,7 +421,7 @@ inline FILE *log_handler2_impl(bool change = false, LogTriState append = LogTriS
// Disables logs entirely at runtime.
// Makes LOG() and LOG_TEE() produce no output,
-// untill enabled back.
+// until enabled back.
#define log_disable() log_disable_impl()
// INTERNAL, DO NOT USE