io

Contents

Name Description
LOG_DEBUG

Debugging log level

LOG_ERROR

Error log level

LOG_INTO

Informational log level

LOG_NONE

Nonetype log level.

LOG_WARN

Warning log level

cd( dir )

Changes the current directory of the program

list( )

A list of files in the current direcotry.

log( text , level [, hint ] )

Logs some text with Irrlicht.

set_log_level( level )

Sets what output gets logged, and what gets ignored.


LOG_DEBUG


LOG_ERROR


LOG_INTO


LOG_NONE

Use this with io#setloglevel if you don't want to log anything.


LOG_WARN


cd( string dir )

Changes the current directory of the program

Parameters

Defined at client/lua_api/io/ifilesystem.cpp:46


list( )

A list of files in the current direcotry.

Returns

Defined at client/lua_api/io/ifilesystem.cpp:13


log( string text , log_level_enum level [ , string hint ] )

Logs some text with Irrlicht.

level may be any of: io.LOGDEBUG, io.LOGINFO, io.LOGWARN, io.LOGERROR, io.LOG_NONE

Parameters

Defined at client/lua_api/io/ifilesystem.cpp:64


set_log_level( number level )

Sets what output gets logged, and what gets ignored.

level may be any of: io.LOGDEBUG, io.LOGINFO, io.LOGWARN, io.LOGERROR, io.LOG_NONE

Parameters

Defined at client/lua_api/io/ifilesystem.cpp:93