summaryrefslogtreecommitdiff
path: root/kern/log.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-06-24 01:31:08 +0200
committerRichard Braun <rbraun@sceen.net>2017-06-24 01:31:08 +0200
commita2729aef568285daff96ffc5719caf8e26043ca9 (patch)
tree20eb5a30bde47a38c16cf08cda9f47bad7746816 /kern/log.h
parentaeea74bc5438895f09329ef1a3a006f251ae25ce (diff)
kern/log: force log messages to fit in a single line
Diffstat (limited to 'kern/log.h')
-rw-r--r--kern/log.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kern/log.h b/kern/log.h
index a306ba36..003e99b2 100644
--- a/kern/log.h
+++ b/kern/log.h
@@ -48,7 +48,11 @@ void log_start(void);
/*
* Generate a message and send it to the log thread.
*
- * Except for level, the arguments and return value are similar to printf().
+ * The arguments and return value are similar to printf(), with
+ * these exceptions :
+ * - a level is associated to each log message
+ * - processing stops at the first terminating null byte or newline
+ * character, whichever occurs first
*
* This function may safely be called in interrupt context.
*/