Logger is a small snippet of code that acts as an extra layer on top of the Debug class already provided by Unity Engine.
Supports most Debug
class methods commonly used by developers.
Log
LogWarning
LogError
DrawLine
DrawRay
For the Logger to work, you must have defined the ENABLE_LOGGER
directive in your project.
In case you don't know how to add a directive
- Go to
Edit
>Project Settings
- Then, under the
Player
tab group you will find theScripting Define Symbols
- Finally, add the
ENABLE_LOGGER
directive and don't forget to Apply Changes
MIT