Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Reacting to verbose rename #246

Merged
merged 1 commit into from
Dec 7, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void WriteValues(this ILogger logger, object values)
}

logger.Log(
logLevel: LogLevel.Verbose,
logLevel: LogLevel.Debug,
eventId: 0,
state: values,
exception: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal static class TreeRouterLoggerExtensions
static TreeRouterLoggerExtensions()
{
_matchedRouteName = LoggerMessage.Define<string, string>(
LogLevel.Verbose,
LogLevel.Debug,
1,
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.");
}
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static bool Match(IReadOnlyDictionary<string, IRouteConstraint> constrain
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,
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.AspNet.Routing/RouterMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public async Task Invoke(HttpContext httpContext)

if (!context.IsHandled)
{
_logger.LogVerbose("Request did not match any routes.");
_logger.LogDebug("Request did not match any routes.");

await _next.Invoke(httpContext);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public async virtual Task RouteAsync(RouteContext context)
return;
}

_logger.LogVerbose(
_logger.LogDebug(
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.",
Name,
RouteTemplate);
Expand Down