Package com.gargoylesoftware.base.trace
Class TraceUtil
java.lang.Object
com.gargoylesoftware.base.trace.TraceUtil
A collection of utility methods dealing with tracing.
- Version:
- $Revision: 1.3 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidtrace(TraceChannel channel, Object[] array) Dump an object array to the specified TraceChannel.static voidtrace(TraceChannel channel, Collection collection) Dump a collection to the specified TraceChannel.static voidtrace(TraceChannel channel, Map collection) Dump a map to the specified TraceChannel.
-
Field Details
-
LINE_SEPARATOR
-
-
Constructor Details
-
TraceUtil
private TraceUtil()
-
-
Method Details
-
trace
Dump a collection to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.collection- The data to write.
-
trace
Dump a map to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.collection- The data to write.
-
trace
Dump an object array to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.array- The data to write.
-