Added Debug logger to MvcSandbox
This commit is contained in:
parent
34dd9472ba
commit
cdcffd50da
|
|
@ -28,7 +28,9 @@ namespace MvcSandbox
|
||||||
{
|
{
|
||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
app.UseStaticFiles();
|
app.UseStaticFiles();
|
||||||
loggerFactory.AddConsole();
|
loggerFactory
|
||||||
|
.AddConsole()
|
||||||
|
.AddDebug();
|
||||||
app.UseMvc(routes =>
|
app.UseMvc(routes =>
|
||||||
{
|
{
|
||||||
routes.MapRoute(
|
routes.MapRoute(
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.2.0-*",
|
"Microsoft.AspNetCore.Server.Kestrel": "1.2.0-*",
|
||||||
"Microsoft.AspNetCore.StaticFiles": "1.2.0-*",
|
"Microsoft.AspNetCore.StaticFiles": "1.2.0-*",
|
||||||
"Microsoft.Extensions.Configuration.Json": "1.2.0-*",
|
"Microsoft.Extensions.Configuration.Json": "1.2.0-*",
|
||||||
"Microsoft.Extensions.Logging.Console": "1.2.0-*"
|
"Microsoft.Extensions.Logging.Console": "1.2.0-*",
|
||||||
|
"Microsoft.Extensions.Logging.Debug": "1.2.0-*"
|
||||||
},
|
},
|
||||||
"publishOptions": {
|
"publishOptions": {
|
||||||
"include": [
|
"include": [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue