19 lines
395 B
GDScript3
19 lines
395 B
GDScript3
|
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)
|