Interface MethodLogger

  • All Known Implementing Classes:
    I10nMethodLogger

    public interface MethodLogger
    Utility for logging a method entry/exit.
    Author:
    avasquez
    • Method Detail

      • logEntry

        void logEntry​(String className,
                      String methodName,
                      Object[] args)
        Logs a method entry.
        Parameters:
        className - the method's class name
        methodName - the method's name
        args - the method's arguments
      • logExit

        void logExit​(String className,
                     String methodName,
                     Object returnValue)
        Logs a method exit.
        Parameters:
        className - the method's class name
        methodName - the method's name
        returnValue - the method's return value
      • logException

        void logException​(String className,
                          String methodName,
                          Throwable e)
        Logs a method failure with a exception.
        Parameters:
        className - the method's class name
        methodName - the method's name
        e - the exception