public GetEntries ( ) : string>>.IEnumerable |
||
Результат | string>>.IEnumerable |
public static IServiceConfiguration FromArgs(string[] args) { var config = new ServiceConfiguration(args); if (Log.IsInfoEnabled) { Log.Info("Config build from command line args"); Log.Info("Config Entries..."); foreach (var entry in config.GetEntries()) { Log.Info(entry); } } return(config); }
public static IServiceConfiguration FromArgs(string[] args) { var config = new ServiceConfiguration(args); if (Log.IsEnabled(LogEventLevel.Information)) { Log.Information("Config build from command line args"); Log.Information("Config Entries..."); foreach (var entry in config.GetEntries()) { Log.Information($"{entry.Key}: {entry.Value}"); } } return(config); }
public static IServiceConfiguration FromArgs(string[] args) { var config = new ServiceConfiguration(args); if (Log.IsEnabled(LogEventLevel.Information)) { Log.Information("Config build from command line args"); Log.Information("Config Entries..."); foreach (var entry in config.GetEntries()) { Log.Information(entry.ToString()); // TODO } } return config; }