Table of Contents
addLogging
A function that add logs to code
Parameters
codestring A string with the code you want to add logs topatternRegExp A regex pattern the function name will need to match. If undefined it won’t be taken into account
Returns string Returns a string containing the code with the logs