minetest.log - Uberi/MineTest-API GitHub Wiki

minetest.log

Description

loglevel one of "error", "action", "info", "verbose", if line is nil then line=loglevel

Syntax

log([string](../type/string.html) loglevel, [[string](../type/string.html) line])

Examples

Example 1:

minetest.log("Something happened!")

Example 2:

minetest.log("action", "Someone did something!")
⚠️ **GitHub.com Fallback** ⚠️