Hyperlinkv0.8.0-beta.28

effect

Console20

Constructors

Models

Accessors

assertconstWrites the supplied assertion message to the console as an error when condition is false; when condition is true, no console output is produced.clearconstRuns the current console service's clear operation.countconstLogs and increments the counter associated with label, using the console's default counter when no label is provided.countResetconstResets the counter associated with the specified label back to zero.debugconstWrites a debug message through the current Console service.dirconstDisplays an interactive list of the properties of the specified object, optionally using console-specific inspection options for debugging complex data structures.dirxmlconstDisplays an interactive tree of descendant XML or HTML elements, which is particularly useful for inspecting DOM elements in browser environments.errorconstWrites an error-level message to the console, typically displayed with error styling by the active console implementation.groupconstCreates a scoped console group, optionally collapsed and labeled, and closes it automatically when the Effect scope is finalized.infoconstWrites an informational message to the console, typically displayed with info styling by the active console implementation.logconstLogs a general-purpose message to the console.tableconstDisplays tabular data as a formatted table in the console, optionally limited to selected properties.timeconstStarts a scoped timer for label and automatically ends it when the Effect scope is finalized.timeLogconstLogs the elapsed time for an existing timer without stopping it, allowing progress reports for long-running operations.traceconstWrites the current stack trace to the console to show how the current point in the code was reached.warnconstWrites a warning-level message to the console, typically displayed with warning styling by the active console implementation.withGroupconstRuns an Effect inside an optionally labeled or collapsed console group, starting the group before execution and ending it after the Effect completes.withTimeconstRuns an Effect with a console timer, starting the timer before execution and ending it after the Effect completes.