Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Remote Logging with ETW Custom Provider

utekaiutekai ✭✭✭
edited November 2016 in Questions And Answers

The windows device logging page allows remote capture of events for logging.

This describes it:
https://developer.microsoft.com/en-us/windows/holographic/using_the_windows_device_portal#logging

Have been able to create a custom provider and get it to generate events ... BUT, can never get the actual log message to appear anywhere, for instance in Payload.

Has anyone succeeded in get a text message to come out in the event log of the device logging page with a custom provider?

Best Answer

Answers

  • Options

    @utekai what was the problem and how did you solve it?

  • Options
    utekaiutekai ✭✭✭

    Here's what's working as a custom provider

    using Microsoft.Diagnostics.Tracing;
    namespace ANamespaceName
    {
    [EventSource(Name = "HololensSource", Guid = "EA073817-090B-45D7-AF14-EDE5C3469B61")]
    internal sealed class HololensSource : EventSource
    {
    public void Message(string message) { Write(message); }
    public static readonly HololensSource Log = new HololensSource();
    }
    }

  • Options

    How to include the Microsoft.Diagnostics.Tracing on a Unity + Hololens Project?
    Are you logging to Hololens or to a PC?

Sign In or Register to comment.