brackeys-12/components/Data/data-toolbar.gd

19 lines
395 B
GDScript3
Raw Normal View History

2024-09-08 17:34:41 +00:00
const LOG_CATEGORY = "DATAT"
const NAME = "Data"
func send_log(parent):
parent.tools[NAME].node.info("Test Debug!", LOG_CATEGORY)
func send_debug(parent):
parent.tools[NAME].node.debug("Test Log!", LOG_CATEGORY)
func send_warning(parent):
parent.tools[NAME].node.warn("Test Warning!", LOG_CATEGORY)
func send_error(parent):
parent.tools[NAME].node.error("Test Error!", LOG_CATEGORY)