class_docstr: Base class for experiment-level logger callbacks
  
  This base class defines a general interface for logging events,
  like trial starts, restores, ends, checkpoint saves, and receiving
  trial results.
  
  Callbacks implementing this interface should make sure that logging
  utilities are cleaned up properly on trial termination, i.e. when
  ``log_trial_end`` is received. This includes e.g. closing files.
class_docstr_tok: ["Base","class","for","experiment-level","logger","callbacks","This","base","class","defines","a","general","interface","for","logging","events",",","like","trial","starts",",","restores",",","ends",",","checkpoint","saves",",","and","receiving","trial","results",".","Callbacks","implementing","this","interface","should","make","sure","that","logging","utilities","are","cleaned","up","properly","on","trial","termination",",","i.e",".","when","``","log_trial_end","``","is","received",".","This","includes","e.g",".","closing","files","."]
docstr: Handle logging when a trial reports a result.
  
  Args:
      trial: Trial object.
      result: Result dictionary.
code: def log_trial_result(
      self, iteration: int, trial: "Trial", result: Dict
  ):
      """Handle logging when a trial reports a result.
  
      Args:
          trial: Trial object.
          result: Result dictionary.
      """
      pass
  
imports: import abc
  import json
  import logging
  import os
  import pyarrow
  from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Set, Type
  import yaml
  from ray.air._internal.json import SafeFallbackEncoder
  from ray.tune.callback import Callback
  from ray.util.annotations import Deprecated, DeveloperAPI, PublicAPI
label_desc: Use image node_id 4 for calling the LoggerCallback obj's underlying member method code with example usage: obj.log_trial_result(iteration, trial, result) without return types