ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/xmltv_parser/main.cs
(Generate patch)

Comparing trunk/xmltv_parser/main.cs (file contents):
Revision 148 by william, Thu Mar 14 15:23:09 2013 UTC vs.
Revision 149 by william, Thu Mar 14 15:36:22 2013 UTC

--- trunk/xmltv_parser/main.cs	2013/03/14 15:24:51	148
+++ trunk/xmltv_parser/main.cs	2013/03/14 15:36:22	149
@@ -1,4 +1,4 @@
-//#define DISABLE_RELEASE_MODE_KLOGLEVEL_DEBUG // when defined will turn off kLogLevel_Debug messages, in release mode
+#define DISABLE_RELEASE_MODE_KLOGLEVEL_DEBUG // when defined will turn off kLogLevel_Debug messages, in release mode
 //#define DISABLE_DEBUG_MODE_KLOGLEVEL_VERBOSE_DEBUG // when defined will turn off kLogLevel_VerboseDebug message, in debug mode
 //#define USE_DYNAMIC_SORTING_FILTERING_CONTROLS // when defined will setup dynamic sorting and filtering controls for XMLTV Data
 using System;
@@ -220,8 +220,8 @@ namespace xmltv_parser
 #if USE_DYNAMIC_SORTING_FILTERING_CONTROLS
               _CreatControlsFromType(data_type);
 #else
-            gLog.Warn.WriteLine("Dynamic creation of sorting and filtering controls has not been enabled.");
-            gLog.Warn.WriteLine("To enable: #define USE_DYNAMIC_SORTING_FILTERING_CONTROLS");
+            gLog.Verbose.Warn.WriteLine("Dynamic creation of sorting and filtering controls has not been enabled.");
+            gLog.Verbose.Warn.WriteLine("To enable: #define USE_DYNAMIC_SORTING_FILTERING_CONTROLS");
 #endif
         }
         [Conditional("USE_DYNAMIC_SORTING_FILTERING_CONTROLS")]
@@ -240,23 +240,23 @@ namespace xmltv_parser
         void CreateDefaultControls(Type data_type)
         {
             // no default controls
-            gLog.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
+            gLog.Verbose.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
         }
         [Conditional("USE_DYNAMIC_SORTING_FILTERING_CONTROLS")]
         void CreateSourceDefinitionControls(Type data_type)
         {
             // no controls needed
-            gLog.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
+            gLog.Verbose.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
         }
         [Conditional("USE_DYNAMIC_SORTING_FILTERING_CONTROLS")]
         void CreateChannelDefinitionControls(Type data_type)
         {
-            gLog.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
+            gLog.Verbose.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
         }
         [Conditional("USE_DYNAMIC_SORTING_FILTERING_CONTROLS")]
         void CreateProgramDefinitionControls(Type data_type)
         {
-            gLog.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
+            gLog.Verbose.Warn.WriteLine("No controls have been defined for: {0}", data_type.Name);
         }
         #endregion
 
@@ -386,7 +386,7 @@ namespace xmltv_parser
             }
             if (!control_selected)
             {
-                gLog.Warn.WriteLine("Unkown filter value used.  Was not: channelname, title, subtitle, description, start, or stop.");
+                gLog.Verbose.Warn.WriteLine("Unkown filter value used.  Was not: channelname, title, subtitle, description, start, or stop.");
                 //throw new InvalidOperationException("No filtering control is currently selected.");
                 return button;
             }