console

package
v2.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, args ...interface{})

Javascript Console.assert() method

func Assertf added in v2.0.2

func Assertf(condition bool, format string, args ...interface{})

Javascript Console.Assert with a format string

func Clear

func Clear()

Javascript Console.clear() method

func Count

func Count(label string)

Javascript Console.count() method

func CountReset

func CountReset(label string)

Javascript Console.countReset() method

func Debug

func Debug(args ...interface{})

Javascript Console.debug() method

func Debugf added in v2.0.2

func Debugf(format string, args ...interface{})

Javascript Console.Debug with a format string

func Dir

func Dir(item interface{})

Javascript Console.dir() method

func DirXML

func DirXML(item interface{})

Javascript Console.dirxml() method

func Error

func Error(args ...interface{})

Javascript Console.error() method

func Errorf added in v2.0.2

func Errorf(format string, args ...interface{})

Javascript Console.Error with a format string

func Group

func Group(args ...interface{})

Javascript Console.exception() method

func GroupCollapsed

func GroupCollapsed(args ...interface{})

Javascript Console.groupCollapsed() method

func GroupEnd

func GroupEnd()

Javascript Console.groupEnd() method

func Info

func Info(args ...interface{})

Javascript Console.info() method

func Infof added in v2.0.2

func Infof(format string, args ...interface{})

Javascript Console.Info with a format string

func Log

func Log(args ...interface{})

Javascript Console.log() method

func Logf added in v2.0.2

func Logf(format string, args ...interface{})

Javascript Console.Log with a format string

func Time

func Time(label string)

Javascript Console.time() method

func TimeEnd

func TimeEnd(label string)

Javascript Console.timeEnd() method

func TimeLog

func TimeLog(label string, args ...interface{})

Javascript Console.timeLog() method

func Trace

func Trace(args ...interface{})

Javascript Console.trace() method

func Tracef added in v2.0.2

func Tracef(format string, args ...interface{})

Javascript Console.Trace with a format string

func Warn

func Warn(args ...interface{})

Javascript Console.warn() method

func Warnf added in v2.0.2

func Warnf(format string, args ...interface{})

Javascript Console.Warn with a format string

Types

type Stringer

type Stringer interface {
	String() string
}

Jump to

Keyboard shortcuts

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