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 void
trace
(TraceChannel channel, Object[] array) Dump an object array to the specified TraceChannel.static void
trace
(TraceChannel channel, Collection collection) Dump a collection to the specified TraceChannel.static void
trace
(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.
-