Esempio n. 1
0
 /// <summary>
 /// Returns the process-wide logger.
 /// </summary>
 /// <returns>The process-wide logger.</returns>
 public static Logger getProcessLogger()
 {
     lock (_processLoggerMutex)
     {
         if (_processLogger == null)
         {
             _processLogger = new ConsoleLoggerI(System.AppDomain.CurrentDomain.FriendlyName);
         }
         return(_processLogger);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the process-wide logger.
 /// </summary>
 /// <returns>The process-wide logger.</returns>
 public static Logger getProcessLogger()
 {
     lock(_processLoggerMutex)
     {
         if(_processLogger == null)
         {
             _processLogger = new ConsoleLoggerI(System.AppDomain.CurrentDomain.FriendlyName);
         }
         return _processLogger;
     }
 }