> 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/modules/serilog.md).

# Serilog

### Description

This library provides an intergation with [Serilog](https://serilog.net/) library in the form of an adapter that implements Vostok [ILog](https://github.com/vostok/logging.abstractions/blob/master/Vostok.Logging.Abstractions/ILog.cs) interface but internally relies on Serilog implementation. It also provides a sink implementation via [VostokSink](https://github.com/vostok/logging.serilog/blob/master/Vostok.Logging.Serilog/VostokSink.cs).

### Source and packages

**GitHub repository:** [vostok/logging.serilog](https://github.com/vostok/logging.serilog)

**NuGet package**: [Vostok.Logging.Serilog](https://www.nuget.org/packages/Vostok.Logging.Serilog)

```
Install-Package Vostok.Logging.Serilog
```

[Cement](https://github.com/skbkontur/cement) users should reference this module with the following command:

```
cm ref add vostok.logging.serilog <path-to-project>
```

### Related pages

{% content-ref url="/pages/-L\_WoFcnrZfO1j6VJWn\_" %}
[Serilog integration](/logging/integrations/serilog.md)
{% endcontent-ref %}
