Greetings. Would either of the following API adjustments be considered as acceptable? Firstly, for log_and_die and log_and_croak to allow for the level parameter to be optional, defaulting to "error". Secondly, for the same methods - or perhaps new ones - to accept a single parameter containing the message.
Greetings. Would either of the following API adjustments be considered as acceptable? Firstly, for
log_and_die
andlog_and_croak
to allow for the level parameter to be optional, defaulting to "error". Secondly, for the same methods - or perhaps new ones - to accept a single parameter containing the message.