Class I10nMethodLogger

java.lang.Object
org.craftercms.commons.logging.I10nMethodLogger
All Implemented Interfaces:
MethodLogger

public class I10nMethodLogger extends Object implements MethodLogger
MethodLogger using I10n logging.
Author:
avasquez
  • Field Details

  • Constructor Details

    • I10nMethodLogger

      public I10nMethodLogger()
  • Method Details

    • 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