'''C++
  std::function<void ()> *func = new std::function<void ()>([&] () -> { Log(_log, String::New(str)); });
  RunOnMain(func);
'''