Class BasicGetLogHeader

java.lang.Object
org.apache.derby.impl.services.stream.BasicGetLogHeader
All Implemented Interfaces:
PrintWriterGetHeader

class BasicGetLogHeader extends Object implements PrintWriterGetHeader
Get a header to prepend to a line of output. * A HeaderPrintWriter requires an object which implements this interface to construct line headers.
See Also:
  • Field Details

    • doThreadId

      private boolean doThreadId
    • doTimeStamp

      private boolean doTimeStamp
    • tag

      private String tag
  • Constructor Details

    • BasicGetLogHeader

      BasicGetLogHeader(boolean doThreadId, boolean doTimeStamp, String tag)
      Constructor for a BasicGetLogHeader object.

      Parameters:
      doThreadId - true means include the calling thread's id in the header.
      doTimeStamp - true means include the current time in the header.
      tag - A string to prefix the header. null means don't prefix the header with a string.
  • Method Details