|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cisco.services.tracing.implementation.TraceImpl
public abstract class TraceImpl
Field Summary |
---|
Fields inherited from interface com.cisco.services.tracing.Trace |
---|
ALERTS, ALERTS_TRACE_NAME, CRITICAL, CRITICAL_TRACE_NAME, DEBUGGING, DEBUGGING_TRACE_NAME, EMERGENCIES, EMERGENCIES_TRACE_NAME, ERROR, ERROR_TRACE_NAME, HIGHEST_LEVEL, INFORMATIONAL, INFORMATIONAL_TRACE_NAME, LOWEST_LEVEL, NOTIFICATION, NOTIFICATION_TRACE_NAME, WARNING, WARNING_TRACE_NAME |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this Trace object. |
java.lang.String |
getSubFacility()
Returns the subFacility of trace |
int |
getType()
Returns the type of trace. |
void |
println(java.lang.Object object)
Prints the string returned by the Object.toString() method and terminates the line as defined by the system. |
void |
println(java.lang.String message)
Prints a message in the same format as Trace.print() and terminates the line as defined by the system. |
void |
println(java.lang.String mnemonic,
java.lang.Object object)
Prints the string returned by the Object.toString() method and terminates the line as defined by the system. |
void |
println(java.lang.String mnemonic,
java.lang.String message)
Prints a message in the same format as Trace.print() and terminates the line as defined by the system. |
void |
setDefaultMnemonic(java.lang.String mnemonic)
Sets a default mnemonic for all messages printed out to this trace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.cisco.services.tracing.Trace |
---|
isEnabled |
Method Detail |
---|
public final void println(java.lang.String message)
Trace
println
in interface Trace
message
- the message to be printedpublic final void println(java.lang.String mnemonic, java.lang.String message)
Trace
println
in interface Trace
mnemonic
- the mnemonic mapped to message to be printedmessage
- the message to be printedpublic final void println(java.lang.Object object)
Trace
println
in interface Trace
object
- the object to be printedpublic final void println(java.lang.String mnemonic, java.lang.Object object)
Trace
println
in interface Trace
mnemonic
- the mnemonic mapped to message to be printedobject
- the object to be printedpublic final java.lang.String getName()
Trace
getName
in interface Trace
public final void setDefaultMnemonic(java.lang.String mnemonic)
Trace
setDefaultMnemonic
in interface Trace
mnemonic
- a mnemonic stringpublic int getType()
Trace
getType
in interface Trace
public java.lang.String getSubFacility()
Trace
getSubFacility
in interface Trace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |