Scoop API

scoop:scoop.log:0.1.0

scoop.log

API

  • object Log

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

  • enum LogLevel

    Log severity, ordered from Trace through Error.

  • interface LogProvider

    Receives evaluated events. Methods can be called concurrently and must synchronize their own mutable state. Exceptions from these methods are recovered by Logger and Log.flush.

  • struct LogRecord

    An evaluated log event. Exception fields retain their original objects; they are not deep snapshots of mutable exception state.

  • class Logger

    A category handle that selects the current provider for each call. Lazy message functions run once after filtering; their exceptions become failure events instead of escaping to the caller.

  • object NoopLogProvider

    The initial provider, also usable to explicitly disable all logging.