MessageBatcher
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: shared/utils/logging/message_batcher.gd
Version: 5.1
class_name: MessageBatcher
extends: RefCounted
Signals
(none)
Exports
(none)
Methods
set_enabled()- Enable/disable batching
set_prefix()- Set prefix for all messages
add()- Add a message to the batch
addf()- Add formatted message (like print with multiple arguments)
flush()- Flush all buffered messages
clear()- Clear all buffered messages without output
count()- Get count of buffered messages
has_messages()- Check if has messages
create_scope()- Create a scoped batcher that auto-flushes on exit
_init()_exit_tree()