Skip to content
Ben edited this page Aug 16, 2022 · 1 revision

Prints a log message to the chatFrame

TRP3_API.utils.log.log(message, level)

Arguments

  • message: string, message to log
  • level: string, log level | DEBUG, INFO, WARNING, SEVERE

Example

Log an error message to the chatFrame

local log = TRP3_API.utils.log
local message = "Ghost is not real"
local level = "WARNING"

log.log(message, level)
Clone this wiki locally