lsst.pex.config.history.format(config, name=None, writeSourceLine=True, prefix='', verbose=False)

Format the history record for a configuration, or a specific configuration field.

config : lsst.pex.config.Config

A configuration instance.

name : str, optional

The name of a configuration field to specifically format the history for. Otherwise the history of all configuration fields is printed.

writeSourceLine : bool, optional

If True, prefix each printout line with the code filename and line number where the configuration event occurred. Default is True.

prefix : str, optional

A prefix for to add to each printout line. This prefix occurs first, even before any source line. The default is an empty string.

verbose : bool, optional

Default is False.