summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/console_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/console_common.c b/common/console_common.c
index 0131a11..bc3a305 100644
--- a/common/console_common.c
+++ b/common/console_common.c
@@ -202,6 +202,9 @@ void log_print(unsigned flags)
uint64_t diff = log->timestamp - time_beginning;
unsigned long difful;
+ if (flags & (BAREBOX_LOG_PRINT_RAW))
+ printf("<%i>", log->level);
+
do_div(diff, 1000);
difful = diff;