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

Commit 00a74aa

Browse files
committed
Reacting to verbose rename
1 parent c911a10 commit 00a74aa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Microsoft.AspNet.Routing/Logging/LoggerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static void WriteValues(this ILogger logger, object values)
1616
}
1717

1818
logger.Log(
19-
logLevel: LogLevel.Verbose,
19+
logLevel: LogLevel.Debug,
2020
eventId: 0,
2121
state: values,
2222
exception: null,

src/Microsoft.AspNet.Routing/Logging/TreeRouterLoggerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal static class TreeRouterLoggerExtensions
1313
static TreeRouterLoggerExtensions()
1414
{
1515
_matchedRouteName = LoggerMessage.Define<string, string>(
16-
LogLevel.Verbose,
16+
LogLevel.Debug,
1717
1,
1818
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.");
1919
}

src/Microsoft.AspNet.Routing/RouteConstraintMatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static bool Match(IReadOnlyDictionary<string, IRouteConstraint> constrain
5252
object routeValue;
5353
routeValues.TryGetValue(kvp.Key, out routeValue);
5454

55-
logger.LogVerbose(
55+
logger.LogDebug(
5656
"Route value '{RouteValue}' with key '{RouteKey}' did not match " +
5757
"the constraint '{RouteConstraint}'.",
5858
routeValue,

src/Microsoft.AspNet.Routing/RouterMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public async Task Invoke(HttpContext httpContext)
3737

3838
if (!context.IsHandled)
3939
{
40-
_logger.LogVerbose("Request did not match any routes.");
40+
_logger.LogDebug("Request did not match any routes.");
4141

4242
await _next.Invoke(httpContext);
4343
}

src/Microsoft.AspNet.Routing/Template/TemplateRoute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public async virtual Task RouteAsync(RouteContext context)
149149
return;
150150
}
151151

152-
_logger.LogVerbose(
152+
_logger.LogDebug(
153153
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.",
154154
Name,
155155
RouteTemplate);

0 commit comments

Comments
 (0)