haive.games.hold_em.engine_logging ================================== .. py:module:: haive.games.hold_em.engine_logging .. autoapi-nested-parse:: Enhanced engine invocation with Rich logging and debugging. Classes ------- .. autoapisummary:: haive.games.hold_em.engine_logging.EngineInvocationLogger haive.games.hold_em.engine_logging.LoggedAugLLMConfig Functions --------- .. autoapisummary:: haive.games.hold_em.engine_logging.enhance_game_engines haive.games.hold_em.engine_logging.enhance_player_engines Module Contents --------------- .. py:class:: EngineInvocationLogger(console = None, debug_mode = True) Rich logging for engine invocations with debugging capabilities. Init . :param console: [TODO: Add description] :param debug_mode: [TODO: Add description] .. py:method:: create_enhanced_invoke(engine) Create an enhanced invoke method with logging. .. py:method:: enhance_engine(engine) Enhance an engine with logging capabilities. .. py:method:: enhance_engines_dict(engines) Enhance all engines in a dictionary. .. py:method:: invocation_context(engine_name, input_data) Context manager for engine invocations. .. py:method:: log_invocation_end(invocation_info, result, error = None) Log the end of an engine invocation. .. py:method:: log_invocation_start(engine_name, input_data) Log the start of an engine invocation. .. py:method:: print_invocation_tree() Print a tree view of all invocations. .. py:method:: print_timing_summary() Print a summary of engine timing statistics. .. py:class:: LoggedAugLLMConfig(*args, logger = None, **kwargs) Bases: :py:obj:`haive.core.engine.aug_llm.AugLLMConfig` AugLLMConfig with enhanced logging capabilities. Init . .. py:method:: create_runnable(runnable_config=None) Create runnable with logging enhancement. .. py:function:: enhance_game_engines(engines, logger = None) Enhance game engines with logging. .. py:function:: enhance_player_engines(engines, logger = None) Enhance player engines with logging.