> For the complete documentation index, see [llms.txt](https://vostok.gitbook.io/logging/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vostok.gitbook.io/logging/integrations/microsoft-logging.md).

# Microsoft logging integration

**Location**: [microsoft](/logging/modules/microsoft.md) module.

```csharp
microsoftLoggerFactory.AddVostok(vostokLog);
```

`AddVostok` extension adds a special implementation of `ILoggerProvider` from [Microsoft.Extensions.Logging](https://www.nuget.org/packages/Microsoft.Extensions.Logging.Abstractions) to given `ILoggerFactory`, based on provided Vostok `ILog` instance. It primarily serves to enable Vostok-based logging for AspNet.Core applications.
