Class JSONLoggerOutput

    • Constructor Detail

      • JSONLoggerOutput

        public JSONLoggerOutput()
    • Method Detail

      • log

        public void log​(@NotNull
                        @NotNull AWSLambdaLoggerConfiguration configuration,
                        @Nullable
                        @Nullable Marker marker,
                        @NotNull
                        @NotNull Level level,
                        @NotNull
                        @NotNull String message,
                        @Nullable
                        @Nullable Throwable throwable)
        Write a message to the AWS lambda log in JSON.
        Specified by:
        log in interface AWSLambdaLoggerOutput
        Parameters:
        configuration - logging configuration
        marker - logging marker
        level - logging level
        message - logging message
        throwable - exception