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

# Formatting

### Description

This library is responsible for rendering [messages](https://github.com/vostok/logging.formatting/blob/master/Vostok.Logging.Formatting/LogMessageFormatter.cs) and [log events](/logging/concepts/log-events.md) to text. It's used in text-based log implementations ([console](/logging/implementations/console-log.md) and [file](/logging/implementations/file-log.md)).

### Source and packages

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

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

```
Install-Package Vostok.Logging.Formatting
```

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

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

### Related pages

{% content-ref url="/pages/-L\_WnUpufIzNbdKrOOFJ" %}
[Formatting](/logging/concepts/formatting.md)
{% endcontent-ref %}

{% content-ref url="/pages/-L\_WpINjAxUVJVY2jZw9" %}
[Custom output templates](/logging/how-to-guides/using-custom-output-templates.md)
{% endcontent-ref %}
