AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: logging/gb_logger.gd
Version: 5.0
class_name: GBLogger
extends: GBInjectable
Signals
(none)
Exports
(none)
Methods
create_with_injection(container: GBCompositionContainer) -> GBLogger- Inject dependencies
set_log_sink(p_sink: Callable) -> void_get_caller_id -> String_is_throttled(caller_id: String, key: String) -> bool_should_log_once(caller_id: String, key: String, once_dict: Dictionary) -> bool_get_context_from_stack -> String- Handle empty stack case - common in test environments
_is_likely_test_environment -> bool- Check if we have a custom sink (common in tests)
log_at(level: LogLevel, p_message) -> void- p_message may be a String or a Callable provider; support both so older
get_runtime_issues -> Arrayresolve_gb_dependencies(p_config: GBCompositionContainer) -> bool_init(p_debug_settings: GBDebugSettings) -> voidis_level_enabled(level: LogLevel) -> boolis_debug_enabled -> boolis_verbose_enabled -> boolis_trace_enabled -> bool_materialize_message(p_provider) -> String- Accept either a Callable or a plain String/other value. If Callable,
log(level: LogLevel, p_message) -> void- p_message may be a String or a Callable provider; support both so older
log_debug_lazy(p_provider: Callable) -> void_emit_log(level: int, context: String, message: String) -> voidlog_warning(p_issue: String) -> voidlog_info(p_message: String) -> voidlog_error(p_issue: String) -> voidlog_warnings(p_issues: Array) -> voidlog_issues(p_issues: Array) -> voidlog_verbose(p_message: String) -> voidlog_trace(p_message: String) -> voidlog_debug(p_message: String) -> voidlog_verbose_throttled(p_object: Object, p_message: String) -> voidlog_debug_throttled(p_object: Object, p_message: String) -> voidlog_trace_throttled(p_object: Object, p_message: String) -> voidlog_verbose_once(p_object: Object, p_message: String) -> voidlog_debug_once(p_object: Object, p_message: String) -> voidlog_trace_once(p_object: Object, p_message: String) -> voidlog_warning_once(p_object: Object, p_message: String) -> voidlog_error_once(p_object: Object, p_message: String) -> voidlog_info_once(p_object: Object, p_message: String) -> voidget_debug_settings -> GBDebugSettingsset_log_level(p_level: LogLevel) -> void