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
libreadline - Rework of library (less sucky now!)
[tpg/acess2.git]
/
Kernel
/
logging.c
diff --git
a/Kernel/logging.c
b/Kernel/logging.c
index
17888a7
..
8132e5c
100644
(file)
--- a/
Kernel/logging.c
+++ b/
Kernel/logging.c
@@
-153,13
+153,14
@@
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
\x1B[0m\r\n
",
+ LogF("%s%014lli%s [%+8s] %s",
csaLevelColours[Entry->Level],
Entry->Time,
csaLevelCodes[Entry->Level],
Entry->Ident,
Entry->Data
);
csaLevelColours[Entry->Level],
Entry->Time,
csaLevelCodes[Entry->Level],
Entry->Ident,
Entry->Data
);
+ LogF("\x1B[0m\r\n"); // Separate in case Entry->Data is too long
SHORTREL( &glLogOutput );
}
SHORTREL( &glLogOutput );
}
UCC
git Repository :: git.ucc.asn.au