Scoop API

scoop:scoop.log:0.1.0

Log

object Log

source · line 27
public
public object Log

Application-owned selection of the process-wide default provider.

function setProvider

source · line 34
public
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.

function flush

source · line 39
public
public fun flush(): Unit

Flushes the currently selected provider, reporting failure to stderr on a best-effort basis.