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( logger.Log(
logLevel: LogLevel.Verbose, logLevel: LogLevel.Debug,
eventId: 0, eventId: 0,
state: values, state: values,
exception: null, exception: null,

View File

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

View File

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

View File

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

View File

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