summaryrefslogtreecommitdiff
path: root/kernel/log.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-30 15:58:21 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-30 15:58:21 +0200
commit45fd26b76e1ca72927ab0a8ce207aab0d024eba3 (patch)
treebcfc1d2d1de9af5162037b35578bbf9ab0f703c3 /kernel/log.h
parente2a029b5d583c3268df4d798f8e79874919eb601 (diff)
Added "log_dump_val_worker(char *v)"
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 803365b3..a491d067 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -196,6 +196,7 @@ static inline void log_dump_val_worker(char c) { log(c >= 32 && c < 127 ? "'%c'"
static inline void log_dump_val_worker(unsigned char c) { log(c >= 32 && c < 127 ? "'%c'" : "'\\x%02x'", c); }
static inline void log_dump_val_worker(bool v) { log("%s", v ? "true" : "false"); }
static inline void log_dump_val_worker(double v) { log("%f", v); }
+static inline void log_dump_val_worker(char *v) { log("%s", v); }
static inline void log_dump_val_worker(const char *v) { log("%s", v); }
static inline void log_dump_val_worker(std::string v) { log("%s", v.c_str()); }
static inline void log_dump_val_worker(PerformanceTimer p) { log("%f seconds", p.sec()); }