com.groupdocs.conversion.logging

Class ConsoleLogger

  • All Implemented Interfaces:
    ILogger


    public final class ConsoleLogger
    extends Object
    implements ILogger

    Console logger implementation.

    • Constructor Summary

      Constructors 
      Constructor and Description
      ConsoleLogger() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void error(String message, com.aspose.ms.System.Exception exception)
      Writes error log message; Error log messages provides information about unrecoverable events in application flow.
      void trace(String message)
      Writes trace log message; Trace log messages provides generally useful information about application flow.
      void warning(String message)
      Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow.
    • Constructor Detail

      • ConsoleLogger

        public ConsoleLogger()
    • Method Detail

      • trace

        public final void trace(String message)

        Writes trace log message; Trace log messages provides generally useful information about application flow.

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

        public final void warning(String message)

        Writes warning log message; Warning log messages provides information about unexpected and recoverable event in application flow.

        Specified by:
        warning in interface ILogger
        Parameters:
        message - The warning message.
      • error

        public final void error(String message,
                                com.aspose.ms.System.Exception exception)

        Writes error log message; Error log messages provides information about unrecoverable events in application flow.

        Specified by:
        error in interface ILogger
        Parameters:
        message - The error message.
        exception - The exception.