I need to change the logging design in my application. Currently my application uses a utility class to all the all the errors, info and debug statement. I need to change that. For example I need to change all the occurrences of
Log.send("XXX", Log.DEBUG);
to
logger.debug("XXX");
and
Log.send("XXX", Log.INFO);
to
logger.info("XXX"); or
Can I do it using any tool or using regular expression in editors like Notepad++ or textpad?