I am working on a project that enhances the operability of my application by going through all the application logic and decide what to log and what level where to use. I am stuck between the usage of TRACE and DEBUG. For example in a method:
public void search(String text) {
log.trace("Inside search() method");
log.info("search text value:{}", text);
...
}
Is this the correct approach for logging?