git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/USB - Callback support and Driver selection
[tpg/acess2.git]
/
Kernel
/
logging.c
diff --git
a/Kernel/logging.c
b/Kernel/logging.c
index
3e33b6a
..
b419be3
100644
(file)
--- a/
Kernel/logging.c
+++ b/
Kernel/logging.c
@@
-157,11
+157,12
@@
void Log_AddEvent(const char *Ident, int Level, const char *Format, va_list Args
void Log_Int_PrintMessage(tLogEntry *Entry)
{
SHORTLOCK( &glLogOutput );
void Log_Int_PrintMessage(tLogEntry *Entry)
{
SHORTLOCK( &glLogOutput );
- LogF("%s%014lli%s [%-8s] %s",
+ LogF("%s%014lli%s [%-8s] %
i - %
s",
csaLevelColours[Entry->Level],
Entry->Time,
csaLevelCodes[Entry->Level],
Entry->Ident,
csaLevelColours[Entry->Level],
Entry->Time,
csaLevelCodes[Entry->Level],
Entry->Ident,
+ Threads_GetTID(),
Entry->Data
);
LogF("\x1B[0m\r\n"); // Separate in case Entry->Data is too long
Entry->Data
);
LogF("\x1B[0m\r\n"); // Separate in case Entry->Data is too long
@@
-177,7
+178,7
@@
void Log_KernelPanic(const char *Ident, const char *Message, ...)
va_start(args, Message);
Log_AddEvent(Ident, LOG_LEVEL_KPANIC, Message, args);
va_end(args);
va_start(args, Message);
Log_AddEvent(Ident, LOG_LEVEL_KPANIC, Message, args);
va_end(args);
- Panic("Log_KernelPanic
"
);
+ Panic("Log_KernelPanic
- %s", Ident
);
}
/**
}
/**
UCC
git Repository :: git.ucc.asn.au