mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Correct comment in l_util.cpp
Remove outdated loglevel list from a l_util.cpp comment, and rather point to the updated code.
This commit is contained in:
parent
eba5f7cd6c
commit
3936a5e3f7
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
// log([level,] text)
|
// log([level,] text)
|
||||||
// Writes a line to the logger.
|
// Writes a line to the logger.
|
||||||
// The one-argument version logs to infostream.
|
// The one-argument version logs to infostream.
|
||||||
// The two-argument version accept a log level: error, action, info, or verbose.
|
// The two-argument version accepts a log level.
|
||||||
|
// Either the special case "deprecated" for deprecation notices, or any specified in
|
||||||
|
// Logger::stringToLevel(name).
|
||||||
int ModApiUtil::l_log(lua_State *L)
|
int ModApiUtil::l_log(lua_State *L)
|
||||||
{
|
{
|
||||||
NO_MAP_LOCK_REQUIRED;
|
NO_MAP_LOCK_REQUIRED;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue