I am looking for a library that does logging on a higher abstraction layer then Log4J or similiar.
Instead of calling the framework once for every row of logging needed, I want to call it once per at the beginning of the action, once at the successful ending and possibly once if an exception occured.
The logging framework should then create logging entries for start, end, duration, number of times this action was performed in 5 minutes, time spend in the various modules/layers (identified by package naming conventions).
Does anything like this exist? In Java?
Note: I am not interested to much in hints how to implement that myself. I am doing this right now and just want to know if I am reinventing the wheel.