diff options
Diffstat (limited to '.changeset/odd-books-live.md')
-rw-r--r-- | .changeset/odd-books-live.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/.changeset/odd-books-live.md b/.changeset/odd-books-live.md deleted file mode 100644 index 40f0d7c17..000000000 --- a/.changeset/odd-books-live.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'astro': minor ---- - -Integrations can now log messages using Astro’s built-in logger. - -The logger is available to all hooks as an additional parameter: - -```ts -import {AstroIntegration} from "./astro"; - -// integration.js -export function myIntegration(): AstroIntegration { - return { - name: "my-integration", - hooks: { - "astro:config:done": ({ logger }) => { - logger.info("Configure integration..."); - } - } - } -} -``` |