Change the API ref for an ILogger in Logging topic (#7862)

pull/7788/merge
Luke Latham 2018-07-28 15:37:48 -05:00 committed by GitHub
parent ef20ad81f5
commit 47c433a013
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ For information on stdout logging when hosting with IIS, see <xref:host-and-depl
## How to create logs
To create logs, implement an [ILogger](/dotnet/api/microsoft.extensions.logging.ilogger) object from the [dependency injection](xref:fundamentals/dependency-injection) container:
To create logs, implement an [ILogger&lt;TCategoryName&gt;](/dotnet/api/microsoft.extensions.logging.ilogger-1) object from the [dependency injection](xref:fundamentals/dependency-injection) container:
[!code-csharp[](index/sample/Controllers/TodoController.cs?name=snippet_LoggerDI&highlight=7)]