com.groupdocs.annotation.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()
    • 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 - The exception that was thrown.
      • trace

        public final void trace(String message)

        Logs the process of annotating.

        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.