Documentation of 'edu.rit.util.Logger' Java class
Logger
edu.rit.util

Interface Logger

  • All Known Implementing Classes:
    PrintStreamLogger


    public interface Logger
    Interface Logger specifies the interface for an object that logs messages.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void log(long date, java.lang.String msg)
      Log the given date and message.
      void log(long date, java.lang.String msg, java.lang.Throwable exc)
      Log the given date, message, and exception.
      void log(long date, java.lang.Throwable exc)
      Log the given date and exception.
      void log(java.lang.String msg)
      Log the given message.
      void log(java.lang.String msg, java.lang.Throwable exc)
      Log the given message and exception.
      void log(java.lang.Throwable exc)
      Log the given exception.
    • Method Detail

      • log

        void log(java.lang.String msg)
        Log the given message.
        Parameters:
        msg - Message.
      • log

        void log(java.lang.Throwable exc)
        Log the given exception.
        Parameters:
        exc - Exception.
      • log

        void log(java.lang.String msg,
                 java.lang.Throwable exc)
        Log the given message and exception.
        Parameters:
        msg - Message.
        exc - Exception.
      • log

        void log(long date,
                 java.lang.String msg)
        Log the given date and message.
        Parameters:
        date - Date and time in milliseconds since midnight 01-Jan-1970 UTC.
        msg - Message.
      • log

        void log(long date,
                 java.lang.Throwable exc)
        Log the given date and exception.
        Parameters:
        date - Date and time in milliseconds since midnight 01-Jan-1970 UTC.
        exc - Exception.
      • log

        void log(long date,
                 java.lang.String msg,
                 java.lang.Throwable exc)
        Log the given date, message, and exception.
        Parameters:
        date - Date and time in milliseconds since midnight 01-Jan-1970 UTC.
        msg - Message.
        exc - Exception.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.