List of usage examples for org.apache.commons.logging LogFactory getFactory
@Deprecated public static LogFactory getFactory()
From source file:org.qedeq.base.trace.Trace.java
/** * Trace method end./* w w w . ja v a2 s. c o m*/ * * @param tracingClass Class that wants to make a trace entry. * @param tracingObject Instance that wants to make a trace entry. * @param method Method of that object. */ public static void end(final Class tracingClass, final Object tracingObject, final String method) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + "end"); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace method end./*from ww w . j a v a2s.c o m*/ * * @param tracingClass Class that wants to make a trace entry. * @param method Method of that class. */ public static void end(final Class tracingClass, final String method) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + "end"); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace message.//from w ww.j ava 2 s .c o m * * @param tracingClass Class that wants to make a trace entry. * @param tracingObject Instance that wants to make a trace entry. * @param method Method of that object. * @param message Message. */ public static void info(final Class tracingClass, final Object tracingObject, final String method, final String message) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isInfoEnabled()) { log.info("." + method + " " + message); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace method message./*from w w w. j ava2s . c o m*/ * * @param tracingClass Class that wants to make a trace entry. * @param method Method of that class. * @param message Message. */ public static void info(final Class tracingClass, final String method, final String message) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isInfoEnabled()) { log.info("." + method + " " + message); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter.//from w w w. j a va 2s . com * * @param tracingClass Class that wants to make a trace entry. * @param tracingObject Instance that wants to make a trace entry. * @param method Method of that object. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final Object tracingObject, final String method, final String param, final Object value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter.//from ww w .j ava 2s.c om * * @param tracingClass Class that wants to make a trace entry. * @param method Method of that class. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final String method, final String param, final Object value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter.//from www . j a va2 s.c o m * * @param tracingClass Class that wants to make a trace entry. * @param tracingObject Instance that wants to make a trace entry. * @param method Method of that object. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final Object tracingObject, final String method, final String param, final int value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter.// w ww .ja v a 2s . c o m * * @param tracingClass Class that wants to make a trace entry. * @param method Method of that class. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final String method, final String param, final int value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter.//from ww w .java 2s. c o m * * @param tracingClass Class that wants to make a trace entry. * @param tracingObject Instance that wants to make a trace entry. * @param method Method of that object. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final Object tracingObject, final String method, final String param, final boolean value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }
From source file:org.qedeq.base.trace.Trace.java
/** * Trace parameter./* w w w. j a v a 2s . c o m*/ * * @param tracingClass Class that wants to make a trace entry. * @param method Method of that class. * @param param Parameter to trace. * @param value Value of parameter. */ public static void param(final Class tracingClass, final String method, final String param, final boolean value) { if (traceOn) { final Log log = LogFactory.getFactory().getInstance(tracingClass); if (log.isDebugEnabled()) { log.debug("." + method + " " + param + "=" + value); } } }