Re: [PATCH 2/2] qga: map GLib log levels to system levels

2022-11-28 Thread Marc-André Lureau
On Tue, Nov 29, 2022 at 12:59 AM Andrey Drobyshev via wrote: > > This patch translates GLib-specific log levels to system ones, so that > they may be used by both *nix syslog() (as a "priority" argument) and > Windows ReportEvent() (as a "wType" argument). > > Currently the only codepath to write

[PATCH 2/2] qga: map GLib log levels to system levels

2022-11-28 Thread Andrey Drobyshev via
This patch translates GLib-specific log levels to system ones, so that they may be used by both *nix syslog() (as a "priority" argument) and Windows ReportEvent() (as a "wType" argument). Currently the only codepath to write to "syslog" domain is slog() function. However, this patch allows the in