mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
7 lines
334 B
Markdown
7 lines
334 B
Markdown
# Logs
|
|
|
|
This plugin returns the CloudWatch logs of a lambda function. You can simply run `serverless logs -f hello` to test it out.
|
|
|
|
## How it works
|
|
|
|
`Logs` hooks into the [`logs:logs`](/lib/plugins/logs) lifecycle. It will fetch the CloudWatch log group of the provided function and outputs all the log stream events in the terminal. |