code: def test_log() -> None:
      with pytest.warns(errors.NevergradRuntimeWarning) as record:
          log = par.Log(lower=0.001, upper=0.1, init=0.02, exponent=2.0)
          assert log.value == pytest.approx(0.02)
          assert not record, [x.message for x in record]  # TODO readd
          par.Log(lower=0.001, upper=0.1, init=0.01, exponent=10.0)
          assert len(record) == 1, [x.message for x in record]
      # automatic
      log = par.Log(lower=0.001, upper=0.1)
      assert log.value == pytest.approx(0.01)
      log.set_standardized_data([2.999])
      np.testing.assert_almost_equal(log.value, 0.09992, decimal=5)
  
imports: import pickle
  import typing
  import pytest
  import numpy
  from nevergrad.common import errors
  from .None import parameter
label_desc: Use image node_id 18 for calling a global function with example usage: test_log() without return types