mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: auto-flush logs at exit
This commit is contained in:
@@ -110,6 +110,8 @@ class Log {
|
||||
Level level;
|
||||
};
|
||||
|
||||
~Log() { flushImpl(); }
|
||||
|
||||
// Flush logs to the designated outputs
|
||||
static void flush() { instance().flushImpl(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user