Class TraceUtil

java.lang.Object
com.gargoylesoftware.base.trace.TraceUtil

public class TraceUtil extends Object
A collection of utility methods dealing with tracing.
Version:
$Revision: 1.3 $
  • Field Details

    • LINE_SEPARATOR

      private static final String LINE_SEPARATOR
  • Constructor Details

    • TraceUtil

      private TraceUtil()
  • Method Details

    • trace

      public static void trace(TraceChannel channel, 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, 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, Object[] array)
      Dump an object array to the specified TraceChannel.
      Parameters:
      channel - The channel to write the information to.
      array - The data to write.