Package 

Object ZgLog


  • 
    public class ZgLog
    
                        

    Console gate for every log line the SDK writes.

    Silent by default. A host app embeds this SDK inside its product; the SDK's internal chatter is not the host's to explain to their users, and an integrator who never asked for logs must not get any. Set enabled via the enableLogs constructor parameter on ZeroGpuSdk to turn it back on while debugging.

    Nothing is lost when this is off: every failure the SDK cares about is already reported as a device lifecycle event (sdk.init_failed, model.load_failed, model.sample_failed, sdk.crash_detected, …) through the telemetry pipeline and is queryable server-side. That event stream, not logcat, is where these are diagnosed from.

    Crashes are unaffected — uncaught exceptions still reach logcat and whatever crash reporter the host installs.