Package com.gargoylesoftware.base.trace
Class TraceUtil
- java.lang.Object
-
- com.gargoylesoftware.base.trace.TraceUtil
-
public class TraceUtil extends java.lang.ObjectA collection of utility methods dealing with tracing.- Version:
- $Revision: 1.3 $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringLINE_SEPARATOR
-
Constructor Summary
Constructors Modifier Constructor Description privateTraceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidtrace(TraceChannel channel, java.lang.Object[] array)Dump an object array to the specified TraceChannel.static voidtrace(TraceChannel channel, java.util.Collection collection)Dump a collection to the specified TraceChannel.static voidtrace(TraceChannel channel, java.util.Map collection)Dump a map to the specified TraceChannel.
-
-
-
Method Detail
-
trace
public static void trace(TraceChannel channel, java.util.Collection collection)
Dump a collection to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.collection- The data to write.
-
trace
public static void trace(TraceChannel channel, java.util.Map collection)
Dump a map to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.collection- The data to write.
-
trace
public static void trace(TraceChannel channel, java.lang.Object[] array)
Dump an object array to the specified TraceChannel.- Parameters:
channel- The channel to write the information to.array- The data to write.
-
-