You can configure the default diagnostics level for a Unity Script. The configured diagnostics level controls the diagnostics level of the application object used by the Unity Script at runtime.
Note:
A Unity Script with diagnostic levels set within the Unity Script itself or a referenced Unity Library Script will override this setting. In order for the Unity Script to respect this setting, the setting within the Unity Script or referenced Unity Library Script should be removed.
To configure the diagnostic level: