Package org.slf4j.instrumentation

package org.slf4j.instrumentation

Java instrumentation routines for SLF4J.

Byte code instrumentation is an way to change behaviour of java classes at load time. This is done in-between the original byte codes are retrieved and the class object is constructed by the class loader. Currently this depends on the javassist library from JBoss (which in turn uses it extensively in their application server).

  • Class Summary
    Helper methods for Javassist functionality.
    LogTransformer does the work of analyzing each class, and if appropriate add log statements to each method to allow logging entry/exit.
    Builder provides a flexible way of configuring some of many options on the parent class instead of providing many constructors.