console

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package console provides console.log/error/warn for transpiled TypeScript code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, args ...any)

Assert logs an assertion error if condition is false.

func Debug

func Debug(args ...any)

Debug prints arguments to stdout (alias for Log).

func Error

func Error(args ...any)

Error prints arguments to stderr, separated by spaces with a trailing newline.

func Info

func Info(args ...any)

Info prints arguments to stdout (alias for Log).

func Log

func Log(args ...any)

Log prints arguments to stdout, separated by spaces with a trailing newline.

func Warn

func Warn(args ...any)

Warn prints arguments to stderr (alias for Error).

Types

This section is empty.

Jump to

Keyboard shortcuts

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