A method for increasing debug log performance uses pre-logging subroutines, i.e.,
helper methods, to pass multiple elements of a string message as separate parameters.
The helper methods typically determine whether a debug logging system is enabled
at a specific logging level before allocating memory or CPU resources for string
concatenation. If the debug logging system is disabled, the method returns to the
client program without allocating resources to concatenate and log the message,
thus significantly increasing debug log performance.