Inheritance: Common.Logging.Simple.AbstractSimpleLogger
コード例 #1
0
 /// <summary>
 /// Creates a new <see cref="DebugOutLogger"/> instance.
 /// </summary>
 protected override ILog CreateLogger(string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat)
 {            
     ILog log = new DebugOutLogger(name, level, showLevel, showDateTime, showLogName, dateTimeFormat);
     return log;
 }
コード例 #2
0
        /// <summary>
        /// Creates a new <see cref="DebugOutLogger"/> instance.
        /// </summary>
        protected override ILog CreateLogger(string name, LogLevel level, bool showLevel, bool showDateTime, bool showLogName, string dateTimeFormat)
        {
            ILog log = new DebugOutLogger(name, level, showLevel, showDateTime, showLogName, dateTimeFormat);

            return(log);
        }