bulpherjs/common/log.go
2022-01-07 10:46:51 +05:00

11 lines
197 B
Go

package common
import (
"github.com/gopherjs/gopherjs/js"
)
// Log logs everything passed to Javascript console.
func Log(args ...interface{}) {
js.Global.Get(JSConsole).Call("log", args...)
}