private static int Main(string[] args) { LogLevel logLevel = LogLevel.TryParse(Environment.GetEnvironmentVariable(WellKnownVariables.LogLevel)); _app = new BuildApplication(new NLogLogger(logLevel)); ExitCode exitCode = _app.RunAsync(args).Result; return(exitCode.Result); }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) => BuildApplication.ConfigurationApplicationBuilder(app, env);