gb_logger_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Source File: /addons/grid_building/test/utilities/diagnostics/gb_logger_test.gd
Extends: GdUnitTestSuite
Private Properties
- Property:
_logger: [GBLogger](./gb-logger/) (private) - Property:
_received_logs: Array[Dictionary] (private)
Constants
- Constant:
DBG_LEVEL := GBDebugSettings.LogLevel
Public Methods
before_test
test_level_filtering
1
| test_level_filtering() -> void
|
test_instantiation
1
| test_instantiation() -> void
|
test_log_debug_once_logs_only_once
1
| test_log_debug_once_logs_only_once() -> void
|
test_log_warning_once_logs_only_once
1
| test_log_warning_once_logs_only_once() -> void
|
test_log_warning_once_logs_multiple_times_for_different_objects
1
| test_log_warning_once_logs_multiple_times_for_different_objects() -> void
|
test_log_error_once_logs_only_once
1
| test_log_error_once_logs_only_once() -> void
|
test_log_info_once_logs_only_once
1
| test_log_info_once_logs_only_once() -> void
|
test_context_from_get_stack
1
| test_context_from_get_stack() -> void
|
test_context_from_convenience_methods
1
| test_context_from_convenience_methods() -> void
|
test_lazy_provider_not_called_when_disabled
1
| test_lazy_provider_not_called_when_disabled() -> void
|
test_lazy_provider_called_when_enabled_and_sink_receives_message
1
| test_lazy_provider_called_when_enabled_and_sink_receives_message() -> void
|
test_set_log_sink_works_for_errors
1
| test_set_log_sink_works_for_errors() -> void
|
test_default_emission_without_sink_calls_provider_and_does_not_crash
1
| test_default_emission_without_sink_calls_provider_and_does_not_crash() -> void
|
test_sink_cleared_is_handled_gracefully
1
| test_sink_cleared_is_handled_gracefully() -> void
|
test_is_level_enabled_filters_correctly
1
| test_is_level_enabled_filters_correctly() -> void
|
test_log_at_with_string_message
1
| test_log_at_with_string_message() -> void
|
test_log_at_with_callable_message
1
| test_log_at_with_callable_message() -> void
|
test_invalid_callable_provider
1
| test_invalid_callable_provider() -> void
|
test_multiple_logs
1
| test_multiple_logs() -> void
|
Private Methods
_call_me
Flags: private
Grid Building v5.0.8 | Generated 24/05/2026