Updated plugin logging.
- The plugin now keeps the log file open for the duration of its lifetime. - This greatly improves the performace of the logging component, which was previously a significant bottleneck even at low logging verbosity. - The log now prints timestamps to the millisecond.
This commit is contained in:
@@ -34,6 +34,9 @@ namespace XPC
|
||||
/// writing header information to the log file.
|
||||
static void Initialize(std::string header);
|
||||
|
||||
/// Closes the log file.
|
||||
static void Close();
|
||||
|
||||
/// Writes the C string pointed to by format, followed by a line
|
||||
/// terminator to the XPC log file. If format contains format
|
||||
/// specifiers, additional arguments following format will be formatted
|
||||
|
||||
Reference in New Issue
Block a user