Beispiel #1
0
        /// <summary>
        /// Directs all logging output to the logger callback specified.
        /// </summary>
        /// <param name="logger">The logger to which all logging information should be directed.</param>
        public static void LogWith(Func <Type, ILog> logger)
        {
            var nullLogger = new NullLogger();

            configured = logger ?? (type => nullLogger);
        }