-
Notifications
You must be signed in to change notification settings - Fork 18
log
Ben edited this page Aug 16, 2022
·
1 revision
Prints a log message to the chatFrame
TRP3_API.utils.log.log(message, level)
-
message
: string, message to log -
level
: string, log level | DEBUG, INFO, WARNING, SEVERE
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)