Example #1
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     CurrentDirectoryHelpers.SetCurrentDirectory();
     Log.Logger = new LoggerConfiguration()
                  .ReadFrom.Configuration(Configuration)
                  .CreateLogger();
 }
Example #2
0
 public Startup(IConfiguration configuration)
 {
     Configuration = configuration;
     CurrentDirectoryHelpers.SetCurrentDirectory();
 }