-
Notifications
You must be signed in to change notification settings - Fork 2
Examples Multithread
Eduard Mishkurov edited this page Apr 7, 2026
·
1 revision
This example shows how logme can be used from multiple threads.
- Creating a dedicated channel per worker thread
- Using
LogmeThreadChannel(...)to route channel-less logs - Logging with
ChannelPtrin a multi-threaded program - A simple throughput-style loop
-
ChannelPtravoids channel lookup and is usually preferable on hot paths. - A per-thread default channel is convenient when library code does not receive a channel explicitly.
logme — flexible runtime logging system
Home · Getting Started · Architecture · Output · Backends · Configuration
GitHub: https://github.com/efmsoft/logme