Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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
Click to show internal directories.
Click to hide internal directories.