Skip to content

fix(vue): respect config log level - #31452

Merged
OS-jacobbell merged 6 commits into
mainfrom
FW-6459
Sep 17, 2026
Merged

OS-jacobbell merged 6 commits into
mainfrom
FW-6459

Conversation

@OS-jacobbell

@OS-jacobbell OS-jacobbell commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

The Vue package has two warnings that are printed regardless of the configured log level.

What is the new behavior?

  • Export printIonWarning and printIonError from core, enabling packages to log messages with Ionic's configured log level.
  • Use printIonWarning in the Vue package instead of console.warn directly. This checks the log level before printing.

Does this introduce a breaking change?

  • Yes
  • No

@vercel

vercel Bot commented Sep 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Sep 17, 2026 2:08pm UTC

Request Review

@github-actions github-actions Bot added package: core @ionic/core package package: vue @ionic/vue package labels Sep 16, 2026
@OS-jacobbell
OS-jacobbell marked this pull request as ready for review September 17, 2026 14:19
@OS-jacobbell
OS-jacobbell requested a review from a team as a code owner September 17, 2026 14:19
@OS-jacobbell
OS-jacobbell requested a review from ShaneK September 17, 2026 14:19

@ShaneK ShaneK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but this should probably be a fix not a chore. 🙂

@OS-jacobbell OS-jacobbell changed the title chore(vue): respect config log level fix(vue): respect config log level Sep 17, 2026
@OS-jacobbell
OS-jacobbell added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit edb3e48 Sep 17, 2026
57 checks passed
@OS-jacobbell
OS-jacobbell deleted the FW-6459 branch September 17, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants