javascript

package
v4.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 13 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