Help us shape the future of Go! Take the 2026 Go Developer Survey

javascript

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger wraps the service.Logger so that we can define the below methods.

func (*Logger) Error

func (l *Logger) Error(message string)

Error will be used for "console.error()" in JS

func (*Logger) Log

func (l *Logger) Log(message string)

Log will be used for "console.log()" in JS

func (*Logger) Warn

func (l *Logger) Warn(message string)

Warn will be used for "console.warn()" in JS

Jump to

Keyboard shortcuts

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