Skip to content
Snippets Groups Projects

EventLog can now redirect events to the Unity Log.

Merged Erik Johnson requested to merge redirect-events-to-unity-debug-log into master

Added option to duplicate added events in the Unity Log. Kind of useful to view the events as they come in.

The idea is that events can be printed to the Unity Debug console and then all Unity Debug logs can then be redirected to "std out" and printed in a command prompt window. Quite useful when running a headless Unity Application that is logging events. The user can see stuff happening without Unity graphics.

Note the actual log file still works as before.

To test, an EventLog scriptable object has to have its redirectToUnityLog flag set to true. Then all Events added to the EventLog will be displayed in the Unity console.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading