Switch to using GLib structured logging
This converts the logging infrastructure to using structured logging calls, adds and sets a structured logging writer.
This commit is contained in:
parent
de8c3858e9
commit
b0ca8c9e0a
6 changed files with 232 additions and 22 deletions
|
|
@ -36,7 +36,7 @@ int main(string[] args) {
|
|||
Geary.HTML.init();
|
||||
Geary.Logging.init();
|
||||
Geary.Logging.log_to(stderr);
|
||||
GLib.Log.set_default_handler(Geary.Logging.default_handler);
|
||||
GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
|
||||
|
||||
Integration.Configuration config = load_config(args);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue