UWP and output to console


Debug.WriteLine(string message);

debug.writeline is slow and not very multithread friendly:

in an async/await situation:

Device.BeginInvokeOnMainThread(() => Debug.WriteLine(response)); 


High frequency very low overhead loggin:

inside the OS kernel

private readonly static LoggingChannel _channel = new LoggingChannel("AWWIDGET",
    new LoggingChannelOptions(),
    new Guid("42ccd433-b1fe-4274-8163-51716821eb39")); 

_channel.LogMessage("hello from UWP!");

and then Traceview.exe the GUID