bbbscarter / UberLogger

Replacement logging framework for Unity, with a new editor and in-game console
MIT License
475 stars 62 forks source link

Failed assertions should be classified as errors #10

Closed Kalmalyzer closed 7 years ago

Kalmalyzer commented 7 years ago

When playing a scene, without a debugger attached, assertion failures arrive as LogType == Assert. With a debugger attached, they arrive as LogType == Exception. This change ensures that both types result in an Error in the log.

(Today, the Uber Console classifies things correctly when there is a debugger attached, but with no debugger it classifies failed assertions as regular messages.)