code: def test_logging_output_format(self):
      inputs = {
          "c": "foo",
          "a": 1337,
          "b": 42.0001,
      }
      expected_outputs = "A = 1337 | B = 42.000 | C = foo"
      test_fn = lambda outputs: self.assertEqual(
          outputs, expected_outputs
      )
  
      logger = terminal.TerminalLogger(print_fn=test_fn)
      logger.write(inputs)
  
imports: from acme.utils.loggers import terminal
  from absl.testing import absltest
label_desc: Use image node_id 1 for calling the LoggingTest obj's underlying member method code with example usage: obj.test_logging_output_format() without return types