com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Interface IFormatter

    • Method Detail

      • format

        String format(LogEntry entry)

        Formats a log entry and return a string to be outputted.

        Parameters:
        entry - The Log entry to format.
        Returns:
        String representing the log entry.
      • format

        String format(Date datatime)

        Formats a datetime and return a string to be outputted.

        Parameters:
        datatime - The datetime value for formatting to string
        Returns:
        String representing the log entry.
      • getLogHeader

        String getLogHeader()

        Represents start log header

        Returns:
        A log header
      • getHeader

        String getHeader()

        Gets the header string.

        Returns:
        A header string
      • getFooter

        String getFooter()

        Gest the footer string.

        Returns:
        A footer string