A stream that allows capturing all messages and redirecting them to error contexts.
threads_shared< on_message_delegates_map_t > & get_on_messages() noexcept
Get on messages delegate.
void on_error(std::thread::id errorThreadId) noexcept
Emit error event for all listeners.
threads_shared< on_error_delegate, std::recursive_mutex > & get_on_error() noexcept
Get on error delegate.