# How do you manage context?

**URL:** <https://forum.crystal-lang.org/t/how-do-you-manage-context/5572>\
**Category:** Help & Support\
**Created:** [April 15, 2023, 3:51pm UTC](https://forum.crystal-lang.org/t/how-do-you-manage-context/5572 "2023-04-15T15:51:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/blacksmoke16/32/1241_2.png) [@Blacksmoke16](https://forum.crystal-lang.org/u/Blacksmoke16)\
**Post date:** [April 15, 2023, 4:02pm UTC](https://forum.crystal-lang.org/t/how-do-you-manage-context/5572/2 "2023-04-15T16:02:58Z")

</div>

I’m not super familiar with Go or its context package, but I’d say it probably depends on the context (ba dum tsch), or what exactly you’re wanting to do.

Like for logging, the `Log` module has fiber specific context that you can use to apply some data to all messages regardless of where they’re logged. Otherwise if you’re in the context of a web request, the framework might provide some way to do it. Do you have some more specific examples in mind?

Related: [Fiber-local state?](https://forum.crystal-lang.org/t/fiber-local-state/2733)

---

_[View the full topic](https://forum.crystal-lang.org/t/how-do-you-manage-context/5572)._
