mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-31 23:29:19 +02:00
Fixed issue 480
This commit is contained in:
parent
70cfc74ce1
commit
b88d0fb5fd
2 changed files with 4 additions and 1 deletions
|
@ -169,7 +169,9 @@ CLog::print(const char* file, int line, const char* fmt, ...)
|
|||
}
|
||||
|
||||
// print the prefix to the buffer. leave space for priority label.
|
||||
if (file != NULL) {
|
||||
// do not prefix time and file for kPRINT (CLOG_PRINT)
|
||||
if ((file != NULL) && (priority != kPRINT)) {
|
||||
|
||||
char message[2048];
|
||||
struct tm *tm;
|
||||
char tmp[220];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue