Log (message, type)
Arguments
message: A string (maximum length: 4000 characters) to be recorded/displayed.type: 0: information, 1: warning, 2: error. An warning or error type will cause the display to use different color to make the entry stand out.