class_docstr: Logger which writes to another logger based on a gating function.
  
  This logger tracks the number of times its `write` method is called, and uses
  a gating function on this number to decide when to write.
class_docstr_tok: ["Logger","which","writes","to","another","logger","based","on","a","gating","function",".","This","logger","tracks","the","number","of","times","its","`","write","`","method","is","called",",","and","uses","a","gating","function","on","this","number","to","decide","when","to","write","."]
code: def close(self):
      self._to.close()
  
imports: import math
  import time
  from typing import Callable, Optional, Sequence
  from acme.utils.loggers import base
label_desc: Use image node_id 3 for calling the GatedFilter obj's underlying member method code with example usage: obj.close() without return types