com.groupdocs.comparison.logging

Class ConsoleLogger

  • All Implemented Interfaces:
    ILogger


    public final class ConsoleLogger
    extends Object
    implements ILogger

    Represents logger implementation which sends all messages to console.

    • Constructor Detail

      • ConsoleLogger

        public ConsoleLogger()
        Initializes a new instance of the @link ConsoleLogger class
    • Method Detail

      • error

        public final void error(String message,
                 Exception exception)

        Logs error message

        Specified by:
        error in interface ILogger
        Parameters:
        message - The Message
        exception - Exception object
      • trace

        public final void trace(String message)

        Logs the process of comparison.

        Specified by:
        trace in interface ILogger
        Parameters:
        message - The Message
      • warning

        public final void warning(String message)

        Logs warning message

        Specified by:
        warning in interface ILogger
        Parameters:
        message - The Message