Log Module
Globals
computer
The Computer Library provides functions for interaction with the computer and especially the Lua Runtime.
computer.log (verbosity: integer, message: string)
Allows you to print a log message to the computers log with the given log verbosity.
Details
| Name | Type | Description |
|---|---|---|
Verbosity |
integer |
The log-level/verbosity of the message you want to log. 0 = Debug, 1 = Info, 2 = Warning, 3 = Error & 4 = Fatal |
Message |
string |
The log message you want to print |