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

Commit

Permalink
PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Hurdugaci committed Oct 26, 2015
1 parent bd33674 commit 674343c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Microsoft.AspNet.Hosting/Internal/HostingLoggerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,31 +67,31 @@ public static void ApplicationError(this ILogger logger, Exception exception)

public static void Starting(this ILogger logger)
{
if (logger.IsEnabled(LogLevel.Information))
if (logger.IsEnabled(LogLevel.Verbose))
{
logger.LogInformation(
logger.LogVerbose(
eventId: LoggerEventIds.Starting,
message: "Hosting starting");
data: "Hosting starting");
}
}

public static void Started(this ILogger logger)
{
if (logger.IsEnabled(LogLevel.Information))
if (logger.IsEnabled(LogLevel.Verbose))
{
logger.LogInformation(
logger.LogVerbose(
eventId: LoggerEventIds.Started,
message: "Hosting started");
data: "Hosting started");
}
}

public static void Shutdown(this ILogger logger)
{
if (logger.IsEnabled(LogLevel.Information))
if (logger.IsEnabled(LogLevel.Verbose))
{
logger.LogInformation(
logger.LogVerbose(
eventId: LoggerEventIds.Shutdown,
message: "Hosting shutdown");
data: "Hosting shutdown");
}
}

Expand Down

0 comments on commit 674343c

Please sign in to comment.