console

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(assertion func(...any) bool, astArgs []any, args ...any)

Assert calls console.assert() with the given assertion, any args to be passed to the assertion, and then any args to be passed to console.assert

func Clear

func Clear()

Clear calls console.clear()

func Count

func Count(label string)

Count calls console.count(); if label is not empty, it calls console.count(label)

func CountReset

func CountReset(label string)

CountReset calls console.countReset(); if label is not empty, it calls console.countReset(label)

func DebugMessage

func DebugMessage(msg string, subStr []string)

DebugMessage calls console.debug(msg, subStr...)

func DebugObject

func DebugObject(objs ...any)

DebugObject calls console.debug(objs...)

func Dir

func Dir(obj any)

Dir calls console.dir(obj)

func DirXML

func DirXML(obj any)

DirXML calls console.dirxml(obj)

func ErrMessage

func ErrMessage(msg string, subStr []string)

ErrMessage calls console.error(msg, subStr...)

func ErrObject

func ErrObject(objs ...any)

ErrObject calls console.error(objs...)

func Group

func Group(label string)

Group calls console.group(); if label is not empty, it calls console.group(label)

func GroupCollapsed

func GroupCollapsed(label string)

GroupCollapsed calls console.groupCollapsed(); if label is not empty, it calls console.groupCollapsed(label)

func GroupEnd

func GroupEnd()

GroupEnd calls console.groupEnd()

func InfoMessage

func InfoMessage(msg string, subStr []string)

InfoMessage calls console.info(msg, subStr...)

func InfoObject

func InfoObject(objs ...any)

InfoObject calls console.info(objs...)

func LogMessage

func LogMessage(msg string, subStr []string)

LogMessage calls console.log(msg, subStr...)

func LogObject

func LogObject(objs ...any)

LogObject calls console.log(objs...)

func Table

func Table(obj any, restrictions ...any)

func Time

func Time(label string)

Time calls console.time(); if label is not empty, it calls console.time(label)

func TimeEnd

func TimeEnd(label string)

TimeEnd calls console.timeEnd(); if label is not empty, it calls console.timeEnd(label)

func TimeLog

func TimeLog(label string, vals ...any)

TimeLog calls console.timeLog(vals...); if label is not empty, it calls console.timeLog(label, vals...)

func Trace

func Trace(objs ...any)

Trace calls console.trace(objs...)

func WarnMessage

func WarnMessage(msg string, subStr []string)

WarnMessage calls console.warn(msg, subStr...)

func WarnObject

func WarnObject(objs ...any)

WarnObject calls console.warn(objs...)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL