KtvineLog

object KtvineLog

Every log line this library emits goes through here.

The library is quiet by default: only Severity.Warn and above reach the platform log, so a host application's log is not filled with per-PSSH parse chatter. Raise the level with setMinSeverity when debugging a license exchange, or replace the sink entirely with setLogger to route into an existing logging setup.

Functions

Link copied to clipboard
fun reset()

Restore the default sink and severity.

Link copied to clipboard
fun setLogger(logger: Logger)

Route this library's logging into an existing Kermit Logger.

Link copied to clipboard
fun setMinSeverity(severity: Severity)

Raise or lower how much this library logs. Defaults to Severity.Warn.