Skip to content
Discussion options

You must be logged in to vote

Logging can indeed be rather helpful during development.
The current solutions that we have employed mostly involve using a hand-rolled logging library or to make use of one of the existing C++ logging libraries out there, like spdlog.
The difference between production and development would typically just be the logging level.

There is no dedicated policy on what a device may or may not print to std::cout or std::cerr. So, at the moment, a device is free to make use of these streams extensively.

One thing that @ystade and I have been talking about briefly was to add a device-level property LASTERRORMSG that can be used to programmatically query (from the user side) as well as report (from…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@echavarria-mqv
Comment options

Comment options

You must be logged in to vote
3 replies
@mnfarooqi
Comment options

@rainij
Comment options

@burgholzer
Comment options

Answer selected by rainij
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@burgholzer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants