From aaf376efdf0f1480d669fbfa8f04323a0d6e9e2f Mon Sep 17 00:00:00 2001 From: Brandy Carney <6577830+brandyscarney@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:07:01 -0500 Subject: [PATCH 1/2] docs(config): add logLevel to config options --- docs/developing/config.md | 1 + versioned_docs/version-v7/developing/config.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/developing/config.md b/docs/developing/config.md index 02ac03567e2..0f70b8da46d 100644 --- a/docs/developing/config.md +++ b/docs/developing/config.md @@ -178,6 +178,7 @@ Below are the config options that Ionic uses. | `loadingEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-loading`, overriding the default "animation". | | `loadingLeave` | `AnimationBuilder` | Provides a custom leave animation for all `ion-loading`, overriding the default "animation". | | `loadingSpinner` | `SpinnerTypes` | Overrides the default spinner for all `ion-loading` overlays. | +| `logLevel` | `'OFF' \| 'ERROR' \| 'WARN'` | Configures the logging level for Ionic Framework. If `'OFF'`, no errors or warnings are logged. If `'ERROR'`, only errors are logged. If `'WARN'`, errors and warnings are logged. | | `menuIcon` | `string` | Overrides the default icon in all `` components. | | `menuType` | `string` | Overrides the default menu type for all `` components. | | `modalEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-modal`, overriding the default "animation". | diff --git a/versioned_docs/version-v7/developing/config.md b/versioned_docs/version-v7/developing/config.md index b97ec2cd1ae..69a197e5fd0 100644 --- a/versioned_docs/version-v7/developing/config.md +++ b/versioned_docs/version-v7/developing/config.md @@ -178,6 +178,7 @@ Below are the config options that Ionic uses. | `loadingEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-loading`, overriding the default "animation". | | `loadingLeave` | `AnimationBuilder` | Provides a custom leave animation for all `ion-loading`, overriding the default "animation". | | `loadingSpinner` | `SpinnerTypes` | Overrides the default spinner for all `ion-loading` overlays. | +| `logLevel` | `'OFF' \| 'ERROR' \| 'WARN'` | Configures the logging level for Ionic Framework. If `'OFF'`, no errors or warnings are logged. If `'ERROR'`, only errors are logged. If `'WARN'`, errors and warnings are logged. | | `menuIcon` | `string` | Overrides the default icon in all `` components. | | `menuType` | `string` | Overrides the default menu type for all `` components. | | `modalEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-modal`, overriding the default "animation". | From 94470b0cf3ef00a8a984baa80f5b0248d9f82a7d Mon Sep 17 00:00:00 2001 From: Brandy Smith <6577830+brandyscarney@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:21:19 -0500 Subject: [PATCH 2/2] docs(config): remove logLevel from v7 --- versioned_docs/version-v7/developing/config.md | 1 - 1 file changed, 1 deletion(-) diff --git a/versioned_docs/version-v7/developing/config.md b/versioned_docs/version-v7/developing/config.md index 69a197e5fd0..b97ec2cd1ae 100644 --- a/versioned_docs/version-v7/developing/config.md +++ b/versioned_docs/version-v7/developing/config.md @@ -178,7 +178,6 @@ Below are the config options that Ionic uses. | `loadingEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-loading`, overriding the default "animation". | | `loadingLeave` | `AnimationBuilder` | Provides a custom leave animation for all `ion-loading`, overriding the default "animation". | | `loadingSpinner` | `SpinnerTypes` | Overrides the default spinner for all `ion-loading` overlays. | -| `logLevel` | `'OFF' \| 'ERROR' \| 'WARN'` | Configures the logging level for Ionic Framework. If `'OFF'`, no errors or warnings are logged. If `'ERROR'`, only errors are logged. If `'WARN'`, errors and warnings are logged. | | `menuIcon` | `string` | Overrides the default icon in all `` components. | | `menuType` | `string` | Overrides the default menu type for all `` components. | | `modalEnter` | `AnimationBuilder` | Provides a custom enter animation for all `ion-modal`, overriding the default "animation". |