It'd be benficial and more intuitive to let the logging utility behave like
logger.debug("Message 12345.");
logger.error("Something happened!");
// ... and similarly
which would also allow different levels of printing things to the console more easily (i. e. debug, warnings-only, errors-only), instead of the current system using a single function for everything with the first parameter being the message kind and the second being the message text.
This change, however, would require changing the whole codebase as well.
It'd be benficial and more intuitive to let the logging utility behave like
which would also allow different levels of printing things to the console more easily (i. e. debug, warnings-only, errors-only), instead of the current system using a single function for everything with the first parameter being the message kind and the second being the message text.
This change, however, would require changing the whole codebase as well.