I am working with shell scripts for some automation tasks. I have functions defined in my script which are executed however the tasks performed by some of the functions logs a lot of data on the terminal screen which is irrelevant.
Is there a way in which I can suppress the console logging before calling a particular function and enable it back when the function execution is finished?