v0.12.4 System logging by citkane · Pull Request #1312 · webview/webview

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@citkane

Copy link

Contributor

@citkane citkane commented

Jun 18, 2025

edited

Loading

This release introduces optional Webview error and warning log output. This should enhance the user and developer experience.

Added

  • The webview::log::console API with error, warn and info methods.
  • The error and warn methods have been implemeted in key API locations and integrated with the existing Webview error system.
  • The WEBVIEW_LOG bool compiler option (defaults to OFF).
  • The WEBVIEW_LOG_ANSI bool compiler option to toggle ANSI colourised strings (defaults to ON).
  • Windows does not automatically capture stdout and stderr for GUI apps, so Webview will automatically check if the user has already captured these and capture them if not.

Changed

  • CI tests have WEBVIEW_LOG set to ON, so test failures will now verbosely output warnings and errors.
  • Windows CI tests are now run as a GUI app.

Depends on PR's

thisisleobro reacted with eyes emoji

citkane added 29 commits

June 12, 2025 15:00
…ew_cc and complete define/implement refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@citkane