Пример #1
0
 static CLog()
 {
     CLog.s_logger = null;
     CLog.s_logger = CLog.GetLog <CLog>();
 }
Пример #2
0
        /// <summary>
        /// Lookup the wrapper objects for the loggers specified
        /// </summary>
        /// <param name="loggers">the loggers to get the wrappers for</param>
        /// <returns>Lookup the wrapper objects for the loggers specified</returns>
        private static ICLog[] WrapLoggers( ILogger[] loggers )
        {
            ICLog[] results = new ICLog[loggers.Length];

            for (int i = 0; i < loggers.Length; i++) {

                results[i] = WrapLogger(loggers[i]);

            }

            return results;
        }