Function cmb_logger_timeformatter_set

Function Documentation

void cmb_logger_timeformatter_set(cmb_timeformatter_func *tf)

Set function to format simulation times into strings for output.

Parameters:
  • tf – A reentrant and threadsafe formatting function taking a double as an argument and returning a const char *. See cmb_logger.c for one way to do this.