Function countme::enable

source · []
pub fn enable(_yes: bool)
Expand description

Enable or disable counting at runtime.

Counting is enabled by default if print_at_exit feature is enabled. Otherwise counting is disabled by default.

If neither enable nor print_at_exit features are enabled, then this function is noop.