-
The .NET 6 documentation for tracing the native hosting using hostfxr mentions the Host tracing documentation: https://github.com/dotnet/runtime/blob/release/6.0/docs/design/features/host-tracing.md I cannot find the function the the Is this API available? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Looks like the closest available API is @vitek-karas, I think |
Beta Was this translation helpful? Give feedback.
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. Regardingcorehost_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)?runtime/src/native/corehost/hostmisc/trace.cpp
Line 143 in bbc898f