Class StringBufferLog

  • All Implemented Interfaces:
    Log

    public class StringBufferLog
    extends WriterLog
    A convenience implementation of a String content based log, mainly suitable for testing and debugging purposes.
    Since:
    2.0
    Author:
    dvorak
    Interface is not intended to be extended by clients.
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • StringBufferLog

        public StringBufferLog()
        Constructs a default log object.
      • StringBufferLog

        public StringBufferLog​(int initialsize)
        Constructs a log object of the given initialize size.
        Parameters:
        initialsize - the initial size of the string buffer associated with this log
    • Method Detail

      • getContents

        public String getContents()