StendhalScripting/LuaAPI: Difference between revisions

Content deleted Content added
imported>AntumDeluge
game: add descriptions
imported>AntumDeluge
logger: clean up
Line 37:
 
Methods:
 
*; ''<span style="color:green;">logger:info</span>(message)''
**: Prints an information level message to the console.
** <span style="color:darkblue; font-style:italic;">message:</span> Text to be printed.
: '''''message:''''' Text to be printed.
* ''<span style="color:green;">logger:warn</span>(message)''
 
** Prints a warning level message to the console.
**; ''<span style="color:darkblue; font-style:italicgreen;">messagelogger:warn</span> Text to be printed.(message)''
**: Prints a warning level message to the console.
* ''<span style="color:green;">logger:error</span>(message)''
: '''''message:''''' Text to be printed.
** Prints an error level message to the console.
 
** <span style="color:darkblue; font-style:italic;">message:</span> Text to be printed.
*; ''<span style="color:green;">logger:warnerror</span>(message)''
**: Prints an error level message to the console.
: '''''message:''''' Text to be printed.
 
Example usage: