mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Allow creating logger instances on the Wine side
So we can log filterable messages from the Wine side. Will be used to warn about failed query interface calls.
This commit is contained in:
@@ -85,6 +85,13 @@ class Logger {
|
||||
*/
|
||||
static Logger create_from_environment(std::string prefix = "");
|
||||
|
||||
/**
|
||||
* Create a special logger instance that outputs directly to STDERR without
|
||||
* any prefixes. This is used to be able to log filterable messages from the
|
||||
* Wine side of things.
|
||||
*/
|
||||
static Logger create_wine_stderr();
|
||||
|
||||
/**
|
||||
* Write a message to the log, prefixing it with a timestamp and this
|
||||
* logger's prefix string.
|
||||
|
||||
Reference in New Issue
Block a user