forked from StarOpenSource/Engine
Flush logs before printing crash report
This commit is contained in:
parent
701f316950
commit
ae790dbd18
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ Dear developer: FIX YOUR GODDAMN SHIT! Please check if your code or 3rd party su
|
|||
base = Logger.getLoggerImplementation().postPlaceholder(LogLevel.CRASH, issuerClass, issuerOrigin, issuerMetadata, message, base);
|
||||
|
||||
// Print log message by invoking LoggerImpl#print
|
||||
Logger.flushLogMessages();
|
||||
Logger.getLoggerImplementation().print(LogLevel.CRASH, issuerClass, issuerOrigin, issuerMetadata, message, base);
|
||||
|
||||
// Emit event
|
||||
|
|
Loading…
Reference in a new issue