com.amazonaws.services.lambda.runtime.LambdaLogger Maven / Gradle / Ivy
/* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
package com.amazonaws.services.lambda.runtime;
/**
* A low level Lambda runtime logger
*
*/
public interface LambdaLogger {
/**
* Logs a string to AWS CloudWatch Logs
*
*
* Logging will not be done:
*
* -
* If the container is not configured to log to CloudWatch.
*
* -
* If the role provided to the function does not have sufficient permissions.
*
*
*
*
* @param message A string containing the event to log.
*/
public void log(String message);
/**
* Logs a byte array to AWS CloudWatch Logs
* @param message byte array containing logs
*/
public void log(byte[] message);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy