class_docstr: Logs the training of components.
class_docstr_tok: ["Logs","the","training","of","components","."]
docstr: Creates hook.
  
  Args:
      pruned_schema: The pruned schema provides us with the information whether
          a component is cached or not.
docstr_tok: ["Creates","hook",".","Args",":","pruned_schema",":","The","pruned","schema","provides","us","with","the","information","whether","a","component","is","cached","or","not","."]
code: def __init__(self, pruned_schema: GraphSchema) -> None:
      """Creates hook.
  
      Args:
          pruned_schema: The pruned schema provides us with the information whether
              a component is cached or not.
      """
      self._pruned_schema = pruned_schema
  
imports: import logging
  from typing import Any, Dict, Text, Type
  from rasa.engine.caching import TrainingCache
  from rasa.engine.graph import ExecutionContext, GraphNodeHook, GraphSchema, SchemaNode
  from rasa.engine.storage.storage import ModelStorage
  from rasa.engine.training.components import PrecomputedValueProvider
  import rasa.shared.utils.io
  from rasa.engine.training import fingerprinting
label_desc: Use image node_id 1 to create a new LoggingHook object from inherited base classes: GraphNodeHook with example: obj = LoggingHook(pruned_schema)