Merge branch 'johluo/verbose-rename' into dev
This commit is contained in:
commit
c672d699f1
|
|
@ -16,7 +16,7 @@ namespace Microsoft.AspNet.Routing.Logging.Internal
|
|||
}
|
||||
|
||||
logger.Log(
|
||||
logLevel: LogLevel.Verbose,
|
||||
logLevel: LogLevel.Debug,
|
||||
eventId: 0,
|
||||
state: values,
|
||||
exception: null,
|
||||
|
|
|
|||
|
|
@ -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}'.");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue