class_docstr: Keeper of structured log for intermediate values during sampling.
class_docstr_tok: ["Keeper","of","structured","log","for","intermediate","values","during","sampling","."]
docstr: Add a record to the log.
  
  Args:
    **kwargs: dictionary of key-value pairs to log.
docstr_tok: ["Add","a","record","to","the","log",".","Args",":","*","*","kwargs",":","dictionary","of","key-value","pairs","to","log","."]
code: def log(self, **kwargs):
      """Add a record to the log.
  
      Args:
        **kwargs: dictionary of key-value pairs to log.
      """
      self.stack[-1].log(kwargs)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import os
  from magenta.models.coconet import lib_util
  import numpy
label_desc: Use image node_id 3 for calling the Logger obj's underlying member method code with example usage: obj.log() without return types