> For the complete documentation index, see [llms.txt](https://vostok.gitbook.io/context/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/context/interaction-with-other-vostok-libraries.md).

# Interaction with other Vostok libraries

The main value of Vostok.Context – integration with other Vostok libraries.

### Context + ClusterClient

Use the [ClusterClient.Context](https://github.com/vostok/clusterclient.context), if you want to spread the context across the network.\
You can look at the example [here](/context/quick-start.md#first-usage).

### Context + [Logging](https://vostok.gitbook.io/logging/)

[Logging.Context](https://github.com/vostok/logging.context) enables us to say: "Let's automatically add properties from context to that log".\
If you use `ContextualLogPrefix`, you can do so:

```csharp
var log = new ConsoleLog().WithContextualPrefix();

using (new ContextualLogPrefix("op-1"))
{
    log.Info("Message 1!");
    
    using (new ContextualLogPrefix("op-2"))
    {
        log.Info("Message 2!");
    }               
    
    log.Info("Message 3!");
}
ConsoleLog.Flush();
```

Result:

```csharp
2018-11-11 16:06:37,970 INFO  [op-1] Message 1!
2018-11-11 16:06:38,047 INFO  [op-1] [op-2] Message 2!
2018-11-11 16:06:38,047 INFO  [op-1] Message 3!
```

### Context + Tracing

&#x20; \_\_/\\\_/\\\_\_\
&#x20;\|    0   0    |\
/     \_\_\_\_    \\\
|\_|\_|\_|\_|\_|\_|\_|
