com.amazonaws.services.lambda.runtime.LambdaLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-lambda-java-core Show documentation
Show all versions of aws-lambda-java-core Show documentation
Minimal set of interface definitions for Java support in AWS Lambda
/* 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 string A string containing the event to log.
*/
public void log(String string);
}