I'm working with spring 3.0.6. My app has lot of places where logging added (slf4j). Say I need to add some function on every serious error - it will be better for me to catch every call to **error level logging** and do may job after it - send mail to support with exception message, or smth like that - than manually add code to all that places in app. 

I ve created following class:

```
@Aspect
public class LoggingWrapper {

    @Pointcut("execution (* org.slf4j.Logger.error(..))")
    public void logError() {
    }

    @AfterReturning("logError()")
    public void afterError() {
        //System.out.println("LOGERROR ASPECT AFTER");
        //send email...
    }
}

```

In spring config:

```
<aop:aspectj-autoproxy />
<bean id="loggingWrapper" class="com.app.services.LoggingWrapper"/>

```

Aspect is working well with my classes, but for **org.slf4j.Logger** - nothing happened