object Log
source · line 27public
public object Log
Application-owned selection of the process-wide default provider.
function setProvider
source · line 34public
public fun setProvider(provider: LogProvider): LogProvider
Atomically installs a provider and returns the previous one. Existing calls may still use the old provider; this operation neither flushes nor closes either provider.
parameter provider
source · line 34public
provider: LogProvider
function flush
source · line 39public
public fun flush(): Unit
Flushes the currently selected provider, reporting failure to stderr on a best-effort basis.