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:
parent
718f02bd8a
commit
3b0815a1dc
23 changed files with 62 additions and 356 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue