/[AnywhereTS-MSSQL]/trunk/TSAdminTool/TerminalServices.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/TerminalServices.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 235 by william, Thu Aug 23 20:40:33 2012 UTC revision 236 by william, Thu Aug 23 20:48:47 2012 UTC
# Line 20  namespace AnywhereTS Line 20  namespace AnywhereTS
20      public class TSManager      public class TSManager
21      {      {
22          #region TSMANAGER VERBOSE MESSAGE LOGGING          #region TSMANAGER VERBOSE MESSAGE LOGGING
         [Conditional("ENABLE_TSMANAGER_VERBOSE_MESSAGES")]  
23          [Conditional("ENABLE_TSMANAGER_VERBOSE_DEBUG_MESSAGES")]          [Conditional("ENABLE_TSMANAGER_VERBOSE_DEBUG_MESSAGES")]
24          private static void LogDebugVerboseMessage(string format, params object[] args) { Logging.DefaultLog.DebugFormat(format, args); }          private static void LogDebugVerboseMessage(string format, params object[] args)
25          [Conditional("ENABLE_TSMANAGER_VERBOSE_MESSAGES")]          {
26    #if ENABLE_TSMANAGER_VERBOSE_MESSAGES
27                Logging.DefaultLog.DebugFormat(format, args);
28    #endif
29            }
30          [Conditional("ENABLE_TSMANAGER_VERBOSE_ERROR_MESSAGES")]          [Conditional("ENABLE_TSMANAGER_VERBOSE_ERROR_MESSAGES")]
31          private static void LogErrorVerboseMessage(string format, params object[] args) { Logging.DefaultLog.ErrorFormat(format, args); }          private static void LogErrorVerboseMessage(string format, params object[] args)
32          [Conditional("ENABLE_TSMANAGER_VERBOSE_MESSAGES")]          {
33    #if ENABLE_TSMANAGER_VERBOSE_MESSAGES
34                Logging.DefaultLog.ErrorFormat(format, args);
35    #endif
36            }
37          [Conditional("ENABLE_TSMANAGER_VERBOSE_FATAL_MESSAGES")]          [Conditional("ENABLE_TSMANAGER_VERBOSE_FATAL_MESSAGES")]
38          private static void LogFatalVerboseMessage(string format, params object[] args) { Logging.DefaultLog.FatalFormat(format, args); }          private static void LogFatalVerboseMessage(string format, params object[] args)
39          [Conditional("ENABLE_TSMANAGER_VERBOSE_MESSAGES")]          {
40    #if ENABLE_TSMANAGER_VERBOSE_MESSAGES
41                Logging.DefaultLog.FatalFormat(format, args);
42    #endif
43            }
44          [Conditional("ENABLE_TSMANAGER_VERBOSE_INFO_MESSAGES")]          [Conditional("ENABLE_TSMANAGER_VERBOSE_INFO_MESSAGES")]
45          private static void LogInfoVerboseMessage(string format, params object[] args) { Logging.DefaultLog.InfoFormat(format, args); }          private static void LogInfoVerboseMessage(string format, params object[] args)
46          [Conditional("ENABLE_TSMANAGER_VERBOSE_MESSAGES")]          {
47    #if ENABLE_TSMANAGER_VERBOSE_MESSAGES
48                Logging.DefaultLog.InfoFormat(format, args);
49    #endif
50            }
51          [Conditional("ENABLE_TSMANAGER_VERBOSE_WARN_MESSAGES")]          [Conditional("ENABLE_TSMANAGER_VERBOSE_WARN_MESSAGES")]
52          private static void LogWarnVerboseMessage(string format, params object[] args) { Logging.DefaultLog.WarnFormat(format, args); }          private static void LogWarnVerboseMessage(string format, params object[] args)
53            {
54    #if ENABLE_TSMANAGER_VERBOSE_MESSAGES
55                Logging.DefaultLog.WarnFormat(format, args);
56    #endif
57            }
58          #endregion          #endregion
59    
60          // Imports          // Imports

Legend:
Removed from v.235  
changed lines
  Added in v.236

  ViewVC Help
Powered by ViewVC 1.1.22