[tomboy] Default Logger.LogLevel to INFO, unless running with --debug.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [tomboy] Default Logger.LogLevel to INFO, unless running with --debug.
- Date: Mon, 29 Jun 2009 15:34:07 +0000 (UTC)
commit 7292f1ad9c521e93fb43e250546c26eaa7dae54c
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Mon Jun 29 08:23:14 2009 -0700
Default Logger.LogLevel to INFO, unless running with --debug.
Tomboy/Tomboy.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/Tomboy/Tomboy.cs b/Tomboy/Tomboy.cs
index 89020bd..71e35d6 100644
--- a/Tomboy/Tomboy.cs
+++ b/Tomboy/Tomboy.cs
@@ -65,6 +65,7 @@ namespace Tomboy
TomboyCommandLine cmd_line = new TomboyCommandLine (args);
debugging = cmd_line.Debug;
+ Logger.LogLevel = debugging ? Level.DEBUG : Level.INFO;
is_panel_applet = cmd_line.UsePanelApplet;
#if ENABLE_DBUS || WIN32 || MAC // Run command-line earlier with DBus enabled
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]