Beispiel #1
0
        private static ILogger GetOrCreateDefaultLogger(ILoggable loggable)
        {
            var category = loggable.GetLogCategory();

            return(LoggerCache.GetOrCreate(category, _ => new PrintLogger(category)));
        }