CesiumGS / cesium-unity

Bringing the 3D geospatial ecosystem to Unity
https://cesium.com/platform/cesium-for-unity/
Apache License 2.0
358 stars 83 forks source link

How to disable informational logs for registering components? #340

Closed ScottBeeson closed 1 year ago

ScottBeeson commented 1 year ago

How do I make this stop? image

Example of one of the logs

[2023-06-30 13:53:53.770] [info] [GltfConverters.cpp:22] Registering file extension .gltf

UnityEngine.Debug:Log (object)
Reinterop.ReinteropInitializer:UnityEngine_Debug_CallLog_FA05wu8x__otZNsgdHTnU9A (intptr) (at Library/PackageCache/com.cesium.unity@1.3.1/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/ReinteropInitializer.cs:37380)
Reinterop.ReinteropInitializer:.cctor () (at Library/PackageCache/com.cesium.unity@1.3.1/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/ReinteropInitializer.cs:30991)
CesiumForUnity.CesiumIonRasterOverlay:CreateImplementation () (at Library/PackageCache/com.cesium.unity@1.3.1/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/CesiumIonRasterOverlay-generated.cs:288)
CesiumForUnity.CesiumIonRasterOverlay:.ctor () (at Library/PackageCache/com.cesium.unity@1.3.1/Runtime/generated/Reinterop/Reinterop.RoslynSourceGenerator/CesiumIonRasterOverlay-generated.cs:305)
kring commented 1 year ago

At the moment, you can't. Not without changing the plugin, at least. I agree they're just noise and not very useful, so I wrote an issue to get rid of them: https://github.com/CesiumGS/cesium-native/issues/679

I'm going to close this issue as it's just a change in cesium-native, nothing to change in Cesium for Unity. Thanks for writing an issue for it, though!