예제 #1
0
        /// <summary>
        ///     Creates the specified logger object and assigns a LoggerName to it.
        /// </summary>
        /// <param name="loggerName">The name of the logger.</param>
        /// <returns>The new logger instance.</returns>
        public IComLogger GetLogger(string loggerName)
        {
            IComLogger logger = new ComLogger
                                    {
                                        LoggerName = loggerName
                                    };

            return logger;
        }
예제 #2
0
        /// <summary>
        ///     Creates the specified logger object and assigns a LoggerName to it.
        /// </summary>
        /// <param name="loggerName">The name of the logger.</param>
        /// <returns>The new logger instance.</returns>
        public IComLogger GetLogger(string loggerName)
        {
            IComLogger logger = new ComLogger
            {
                LoggerName = loggerName
            };

            return(logger);
        }