-1

I'v installed Windows IoT Core on my Raspberry Pi 3 (Model B) and successfully published some test .Net Core applications to it. Now i'm preparing a Background Application (i.e: Headless Application) and i want to write to the system's logs.

In the Raspberry's UI i see a section Explore > Logs, but it's totally empty. What logs does this section display and how do i get my application-specific logs to be listed there? How does this all work?

jps
  • 20,041
  • 15
  • 75
  • 79
ZiggY
  • 111
  • 1
  • 9

1 Answers1

0

Logs in the Explorer shows the logs which are auto-generated when the app crashes due to an unhandled exception. You can also manually generate a log by tapping on the command bar below and selecting "Quick-Save Log". The IoTDefaultApp is open source in GitHub, you can find the implement in this repo.

enter image description here enter image description here

May i know if you know Event Tracing for Windows IoT Core? You can make a custom event source to log for your application work on Windows 10 IoT Core.

Michael Xu
  • 4,382
  • 1
  • 8
  • 16