{"modulePath":"github.com/aws/aws-lambda-runtime-interface-emulator","version":"v0.0.0-20261030222936-bef5c4ba774d","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package logging\n\nRAPID emits or proxies the following sources of logging:\n\n 1. Internal logs: RAPID's own application logs into stderr for operational use, visible only internally\n 2. Function stream-based logs: Runtime's stdout and stderr, read as newline separated lines\n 3. Function message-based logs: Stock runtimes communicate using a custom TLV protocol over a Unix pipe\n 4. Extension stream-based logs: Extension's stdout and stderr, read as newline separated lines\n 5. Platform logs: Logs that RAPID generates, but is visible either in customer's logs or via Logs API (e.g. EXTENSION, RUNTIME, RUNTIMEDONE, IMAGE)\n\n## Functions\n\n```go\nfunc SetOutput(w io.Writer)\n```\nSetOutput configures logging output for standard loggers.\n\n## Types\n\n```go\ntype InternalFormatter struct{}\n```\n\n```go\nfunc (f *InternalFormatter) Format(entry *logrus.Entry) ([]byte, error)\n```\nformat RAPID's internal log like the rest of the sandbox log\n\n","path":"github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/logging","name":"logging","synopsis":"RAPID emits or proxies the following sources of logging:","isRedistributable":true}
