Beispiel #1
0
        private static LogConfiguration GetConfiguration(IConfiguration configuration)
        {
            var logConfiguration = new LogConfiguration();

            configuration.GetSection("LogConfiguration").Bind(logConfiguration);

            return(logConfiguration);
        }
Beispiel #2
0
 public K8sLogger(ILogger <K8sLogger> logger, LogConfiguration logConfiguration)
 {
     _logger           = logger;
     _logConfiguration = logConfiguration;
 }