Merge branch 'johluo/verbose-rename' into dev

This commit is contained in:
John Luo 2015-12-07 15:50:47 -08:00
commit c672d699f1
5 changed files with 5 additions and 5 deletions

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNet.Routing.Logging.Internal
}
logger.Log(
logLevel: LogLevel.Verbose,
logLevel: LogLevel.Debug,
eventId: 0,
state: values,
exception: null,

View File

@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Routing.Logging
static TreeRouterLoggerExtensions()
{
_matchedRouteName = LoggerMessage.Define<string, string>(
LogLevel.Verbose,
LogLevel.Debug,
1,
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.");
}

View File

@ -52,7 +52,7 @@ namespace Microsoft.AspNet.Routing
object routeValue;
routeValues.TryGetValue(kvp.Key, out routeValue);
logger.LogVerbose(
logger.LogDebug(
"Route value '{RouteValue}' with key '{RouteKey}' did not match " +
"the constraint '{RouteConstraint}'.",
routeValue,

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Builder
if (!context.IsHandled)
{
_logger.LogVerbose("Request did not match any routes.");
_logger.LogDebug("Request did not match any routes.");
await _next.Invoke(httpContext);
}

View File

@ -149,7 +149,7 @@ namespace Microsoft.AspNet.Routing.Template
return;
}
_logger.LogVerbose(
_logger.LogDebug(
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.",
Name,
RouteTemplate);