The LoggingInterceptor service is used to add logging capability to a service, i.e.:
<interceptor service-id="hivemind.LoggingInterceptor"> <include method="..."/> <exclude method="..."/> </interceptor>
The service make take parameters (which control which methods will be logged).
The logging interceptor uses a
Log derived from the service id (of
the service to which logging is being added).
The service logs, at debug level, the following events:
excludeparameter elements specify methods to be included (logged) and excluded (not logged). The
methodattribute is a method pattern, a string used to match methods based on name, number of parameters, or type of parameters; see the MethodMatcher class for more details. A method which does not match any supplied pattern will be logged.