Fix duplicate timestamps in Wine log messages

Regression caused by the merging of these two functions in a1cb3b6.
This commit is contained in:
Robbert van der Helm
2021-07-20 04:08:46 +02:00
parent 22be79aa0d
commit 640c188338
2 changed files with 9 additions and 4 deletions
+4 -1
View File
@@ -122,10 +122,13 @@ class Logger {
* differentiate between the Wine process and the Linux VST plugin.
* @param stream If specified, disregard `YABRIDGE_DEBUG_FILE` and output
* the log to this stream isntead.
* @param prefix_timestamp Whether to prefix every log message with a
* timestamp.
*/
static Logger create_from_environment(
std::string prefix = "",
std::shared_ptr<std::ostream> stream = nullptr);
std::shared_ptr<std::ostream> stream = nullptr,
bool prefix_timestamp = true);
/**
* Create a special logger instance that outputs directly to STDERR without