mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Swift: flush log files on log flushing
This commit is contained in:
@@ -134,6 +134,12 @@ void Log::configure() {
|
||||
|
||||
void Log::flushImpl() {
|
||||
session.consume(*this);
|
||||
if (text) {
|
||||
textFile.flush();
|
||||
}
|
||||
if (binary) {
|
||||
binary.output.flush();
|
||||
}
|
||||
}
|
||||
|
||||
Log::LoggerConfiguration Log::getLoggerConfigurationImpl(std::string_view name) {
|
||||
|
||||
Reference in New Issue
Block a user