iTwin / imodel-unity-example

Example demonstrating use of iTwin.js with a Unity application
MIT License
21 stars 10 forks source link

Logger Issue #2

Closed ashish1014 closed 4 years ago

ashish1014 commented 4 years ago

Enable/Disable logger in whole Unity project, any document plz share

mgooding commented 4 years ago

Can you clarify what you're looking to do? Do you want to disable Debug.Log messages in Unity, the logging messages on the Node backend, or both?

ashish1014 commented 4 years ago

Want to off both

mgooding commented 4 years ago

1) For Unity, you can turn off all logging with https://docs.unity3d.com/ScriptReference/ILogger-logEnabled.html. 2) For the Node backend, you can alter what's logged here: https://github.com/imodeljs/imodel-unity-example/blob/master/node/src/Main.ts#L188