Provide spdlog with a Clock
object
#2887
michael-projectx
started this conversation in
Ideas
Replies: 1 comment
-
If you have replaced the clock, change the next line. spdlog/include/spdlog/common.h Line 132 in 91807c2 Or pass a spdlog/include/spdlog/logger.h Lines 101 to 104 in 91807c2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using
spdlog
in my project which runs both on hardware and simulation. In simulation we have a simulated clock that is not in sync with the system clock. When usingspdlog
in the context of our simulator, the timestamps printed in the spdlog messages are meaningless. Is there a way to providespdlog
with a specific clock?Beta Was this translation helpful? Give feedback.
All reactions