scripting

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNilLogger = errors.New("scripting: logger is nil")

ErrNilLogger is returned when a nil logger is passed to Log.

Functions

func Log

func Log(logger *log.Loggee, severity *log.Severity, script string, line int, sender, message string) error

Log records a log entry originating from a scripting environment. This helper is intended for internal bridging layers (such as the Lua manager); typical library consumers should use the standard log package directly. Callers supply the script name and line number; the logger will not override those fields when emitting the entry.

Types

This section is empty.

Source Files

  • logging.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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