Class PatchLogger


  • public class PatchLogger
    extends Object
    Dependencies of the agent sometimes call java.util.logging.Logger.getLogger(). This can have the effect of initializing the global LogManager incompatibly with the user's app.

    Shadow rewrites will redirect those calls to this class, which will return a safe PatchLogger.

    This also has the desired outcome of redirecting all logging to a single destination (SLF4J).