Esempio n. 1
0
        private static LogConfiguration GetConfiguration(IConfiguration configuration)
        {
            var logConfiguration = new LogConfiguration();

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

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