Documentation ¶
Overview ¶
Package api provides helper functions for all Minetest related API calls.
Index ¶
Constants ¶
View Source
const ( // Debug log level Debug logLevel = 0 // Info log level Info logLevel = 1 // Warning log level Warning logLevel = 5 // NoLogs disable logs completely NoLogs logLevel = 9 )
Variables ¶
View Source
var ( // LogLevel controls the global logging for the API calls. LogLevel logLevel = Warning )
Functions ¶
func Debugf ¶
func Debugf(m string, args ...interface{})
Debugf logs the provided message if debug level is enabled
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.