All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.christofreichardt.diagnosis.QueueNullTracer Maven / Gradle / Ivy

Go to download

A trace tool which produces clearly arranged logs by indenting the trace messages depending on the depth of the call stack.

There is a newer version: 1.10.0
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package de.christofreichardt.diagnosis;

/**
 * 
* This is the tracer the {@link TracerFactory} delivers if the Queue is disabled. To redirect log messages * to the JDK logging system use the {@link JDKLoggingRouter} as constructor argument. Note that while this is * assignable to a QueueTracer it must not be configured as an actual tracer type for the queue. Instead disable the Queue * and you will get by default and non-blocking QueueNullTracer instances. *
* * @author Christof Reichardt */ final public class QueueNullTracer extends QueueTracer { /** * The constructor expects a {@link NullTracer}. * @param tracer the to be wrapped tracer */ public QueueNullTracer(NullTracer tracer) { super("__NullTracer__", tracer); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy