# README
Lambda Logs API
Warning The Lambda Telemetry API supersedes the Lambda Logs API. While the Logs API remains fully functional, we recommend using only the Telemetry API going forward. You can subscribe your extension to a telemetry stream using either the Telemetry API or the Logs API. After subscribing using one of these APIs, any attempt to subscribe using the other API returns an error.
# Functions
DecodeLogs consumes all logs from json array stream and send them to the provided channel.
Run runs the Processor.
No description provided by the author
No description provided by the author
WithDestinationAddr configures host and port for logs receiving HTTP server to listen Lambda API accepts only "sandbox.localdomain" host.
No description provided by the author
No description provided by the author
# Constants
LogExtension logs are generated by extensions and written to stdout or stderr.
LogFunction logs are generated by the lambda function and internal extensions and written to stdout or stderr.
LogPlatformEnd is the invocation end time.
LogPlatformExtension is generated when an extension registers with the extensions API.
LogPlatformFault log captures runtime or execution environment errors.
LogPlatformLogsDropped is generated when an extension is not able to process the number of logs that it is receiving.
LogPlatformLogsSubscription is generated when an extension subscribes to the logs API.
LogPlatformReport includes metrics about the invocation that the lambdaext.RequestID specifies.
LogPlatformRuntimeDone is generated after the function invocation completes either successfully or with an error.
LogPlatformStart is the invocation start time.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Log is a parsed log record from Lambda Logs API.
No description provided by the author
RecordPlatformEnd is the invocation end time.
RecordPlatformExtension is generated when an extension registers with the extensions API.
RecordPlatformLogsDropped is generated when an extension is not able to process the number of logs that it is receiving.
RecordPlatformLogsSubscription is generated when an extension subscribes to the logs API.
RecordPlatformReport includes metrics about the invocation that the lambdaext.RequestID specifies.
RecordPlatformRuntimeDone is generated after the function invocation completes either successfully or with an error.
RecordPlatformStart is the invocation start time.
# Type aliases
LogType represents the type of logs received from Lambda Logs API.
RecordExtension logs are generated by extensions and written to stdout or stderr.
RecordFunction logs are generated by the lambda function and internal extensions and written to stdout or stderr.
RecordPlatformFault log captures runtime or execution environment errors.
No description provided by the author