AndroidLogger
Android implementation of Logger that delegates to android.util.Log.
Logging is filtered according to a minimum severity level: only messages at least as severe as minLevel are emitted, so LogLevel.WARN lets warnings and errors through.
This logger is intended for SDK-level diagnostics and can be replaced by SDK consumers with a custom implementation if needed (e.g. forward to Crashlytics or a proprietary logging stack).
Parameters
the Android log tag used for all emitted messages (default "CGS")
the minimum log level required to actually log a message (default LogLevel.WARN)
More verbose levels are silently ignored and produce no log output.
Functions
Logs at LogLevel.DEBUG: verbose detail useful while integrating.
Logs at LogLevel.ERROR: a failure the SDK could not recover from.
Logs at LogLevel.INFO: normal lifecycle and diagnostic events.
Logs at LogLevel.WARN: something unexpected that the SDK recovered from.