Geary.Logging: Remove Flag enum

Now that we have classes logging on sub-domains, and the ability to
suppress specific domains, remove flags and switch over to doing
domain suppression for manipulating debug settings in the client.
This commit is contained in:
Michael Gratton 2020-04-15 17:03:16 +10:00
parent 718f02bd8a
commit 3b0815a1dc
23 changed files with 62 additions and 356 deletions

View file

@ -40,9 +40,7 @@ int main(string[] args) {
Geary.HTML.init();
Geary.Logging.init();
if (GLib.Test.verbose()) {
Geary.Logging.enable_flags(ALL);
GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
Geary.Logging.enable_flags(ALL);
Geary.Logging.log_to(GLib.stdout);
}

View file

@ -23,9 +23,7 @@ int main(string[] args) {
Geary.HTML.init();
Geary.Logging.init();
if (GLib.Test.verbose()) {
Geary.Logging.enable_flags(ALL);
GLib.Log.set_writer_func(Geary.Logging.default_log_writer);
Geary.Logging.enable_flags(ALL);
Geary.Logging.log_to(GLib.stdout);
}