diff options
Diffstat (limited to 'lib/logger/log.c')
| -rw-r--r-- | lib/logger/log.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/logger/log.c b/lib/logger/log.c index d58d2d6..8d69fc3 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -40,7 +40,7 @@ void log(char *module_name, int log_level, char *format_string, ...) va_end(va); tfp_sprintf(buf_log,"%s %s: %s\n",buf_time,module_name,buf_info); - console_put_str(buf_log); + console_put_str_gray(buf_log); for(int i=0;buf_log[i]!=0;i++) { @@ -57,7 +57,7 @@ void panic(char *module_name, char *message) { char buf_log[256]; tfp_sprintf(buf_log,"KERNEL PANIC !! %s: %s\n",module_name,message); - console_put_str(buf_log); + console_put_str_red(buf_log); while(1); // halt } @@ -70,10 +70,10 @@ void log_log() char buf_log[256]; tfp_sprintf(buf_log,"[ 0.00000] log: buffer state: first=%d, last=%d, buf_size=%d\n",first,last,LOG_BUF_SIZE); - console_put_str(buf_log); + console_put_str_gray(buf_log); for(int i=first;i!=last;i++) { - console_put_char(buffer[i]); + console_put_char_gray(buffer[i]); } } |
