docs: docs for next release (#13303)

* added draft order plugin docs

* fix vale error

* added note about draft order being optional

* add new shipping option - shipping method link

* update user guides

* generate

* fix github icon

* changes to shipping option type

* document logger

* reorder list

* fixes

* fixes
This commit is contained in:
Shahed Nasser
2025-08-28 18:49:07 +03:00
committed by GitHub
parent 94effdcda7
commit d510639193
55 changed files with 1653 additions and 182 deletions
@@ -39,6 +39,7 @@ The `defineConfig` utility accepts an object having the following properties:
- [modules](#module-configurations-modules): Configurations related to registered modules.
- [plugins](#plugin-configurations-plugins): Configurations related to registered plugins.
- [featureFlags](#feature-flags-featureFlags): Configurations to manage enabled beta features in the Medusa application.
- [logger](#custom-logger-logger): Override the default logger.
### Using Environment Variables
@@ -1131,3 +1132,24 @@ After enabling a feature flag, make sure to run migrations, as the feature may i
```bash
npx medusa db:migrate
```
---
## Custom Logger (`logger`)
The `logger` configuration allows you to override the default [Logger](../../debugging-and-testing/logging/page.mdx) used in the Medusa application with your custom implementation.
Learn more about creating a custom logger in the [Override Logger](../../debugging-and-testing/logging/custom-logger/page.mdx) chapter.
The `logger` configuration accepts an instance of a class that extends the `Logger` interface.
### Example
```ts title="medusa-config.ts"
import { logger } from "./src/logger/my-logger"
module.exports = defineConfig({
// ...
logger,
})
```