Table of Contents
addLogging
A function that add logs to code
Parameters
code
string A string with the code you want to add logs topattern
RegExp 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