Skip to content

Host tracing using hostfxr_set_trace_listener #67697

Answered by am11
jozefizso asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like the closest available API is corehost_set_error_writer.

@vitek-karas, I think hostfxr_set_trace_listener can be removed from docs as it was not implemented as proposed. Regarding corehost_set_error_writer, is it intentional that user-provided callback is not allowed to capture warning, info and trace severity logs (value is ultimately only used by trace::error)?

g_error_writer(buffer.data());

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@vitek-karas
Comment options

@jozefizso
Comment options

@vitek-karas
Comment options

@jozefizso
Comment options

@vitek-karas
Comment options

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