class_docstr: Logger which makes the logging to another logger asyncronous.
docstr: Initializes the logger.
  
  Args:
    to: A `Logger` object to which the current object will forward its results
      when `write` is called.
docstr_tok: ["Initializes","the","logger",".","Args",":","to",":","A","`","Logger","`","object","to","which","the","current","object","will","forward","its","results","when","`","write","`","is","called","."]
code: def __init__(self, to: base.Logger):
      """Initializes the logger.
  
      Args:
        to: A `Logger` object to which the current object will forward its results
          when `write` is called.
      """
      self._to = to
      self._async_worker = async_utils.AsyncExecutor(
          self._to.write, queue_size=5
      )
  
file_path: acme/acme/utils/loggers/asynchronous.py
imports: from typing import Any, Mapping
  from acme.utils import async_utils
  from acme.utils.loggers import base
label_desc: Use image node_id 1 to create a new AsyncLogger object from inherited base classes: base with example: obj = AsyncLogger(to)