Package 

Class LambdaDefaultLogger

  • All Implemented Interfaces:
    ca.nexapp.lambdas.logging.LambdaLogger

    
    public final class LambdaDefaultLogger
     implements LambdaLogger
                        

    Log4J2 lambda lifecycle logger

    Records event to display in your preferred integration

    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit recordRequest(Object request, Context awsRuntimeContext)
      Unit recordResponse(Object response, Context awsRuntimeContext)
      Unit recordHandlerError(Exception error, Context awsRuntimeContext)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • recordRequest

         Unit recordRequest(Object request, Context awsRuntimeContext)
        Parameters:
        request - serializable lambda request
      • recordResponse

         Unit recordResponse(Object response, Context awsRuntimeContext)
        Parameters:
        response - serializable lambda response