Class I10nMethodLogger

    • Constructor Detail

      • I10nMethodLogger

        public I10nMethodLogger()
    • Method Detail

      • logEntry

        public void logEntry​(String className,
                             String methodName,
                             Object[] args)
        Description copied from interface: MethodLogger
        Logs a method entry.
        Specified by:
        logEntry in interface MethodLogger
        Parameters:
        className - the method's class name
        methodName - the method's name
        args - the method's arguments
      • logExit

        public void logExit​(String className,
                            String methodName,
                            Object returnValue)
        Description copied from interface: MethodLogger
        Logs a method exit.
        Specified by:
        logExit in interface MethodLogger
        Parameters:
        className - the method's class name
        methodName - the method's name
        returnValue - the method's return value
      • logException

        public void logException​(String className,
                                 String methodName,
                                 Throwable e)
        Description copied from interface: MethodLogger
        Logs a method failure with a exception.
        Specified by:
        logException in interface MethodLogger
        Parameters:
        className - the method's class name
        methodName - the method's name
        e - the exception