mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08:00
Fixed issue 480
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user