|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.jusb.util.UsbTracer com.ibm.jusb.util.NullUsbTracer
public class NullUsbTracer
This implementation of UsbTracer does nothing with any trace messages.
Field Summary |
---|
Fields inherited from class com.ibm.jusb.util.UsbTracer |
---|
GLOBAL_TRACER_LEVEL_PROPERTY, GLOBAL_TRACER_NAME_PROPERTY, TRACE_CRITICAL, TRACE_CRITICAL_PROPERTY, TRACE_DEBUG, TRACE_DEBUG_PROPERTY, TRACE_ERROR, TRACE_ERROR_PROPERTY, TRACE_IMPLEMENTATION_PROPERTY, TRACE_INFO, TRACE_INFO_PROPERTY, TRACE_NOTICE, TRACE_NOTICE_PROPERTY, TRACE_WARN, TRACE_WARN_PROPERTY |
Constructor Summary | |
---|---|
NullUsbTracer(java.lang.String name,
int level)
Create a new NullUsbTracer with the specified name and trace level. |
Method Summary | |
---|---|
void |
print(java.lang.String name,
int level,
java.lang.String msg)
This method does nothing. |
Methods inherited from class com.ibm.jusb.util.UsbTracer |
---|
getDefaultLevel, getDefaultName, getUsbTracer, getUsbTracer, print, print, print, println, println, println, println, setDefaultLevel, setDefaultName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullUsbTracer(java.lang.String name, int level)
Since this class does nothing these parameters don't matter.
name
- The default name of this tracer object.level
- The default trace level of this tracer object.Method Detail |
---|
public void print(java.lang.String name, int level, java.lang.String msg)
print
in class UsbTracer
name
- The name of the trace source.level
- The trace level of the message.msg
- The trace message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |