Allow console commands to appear in log files (#37631)

This enables console.* commands in javascript to be forwarded to the
logger and not just stdout.
The domain for this will be `script::dom::console` which seems
appropate.

Testing: Logs do not have any tests.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
Narfinger 2025-06-23 20:42:36 +02:00 committed by GitHub
parent 5fdd8ee277
commit 208d4c620a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 14 deletions

View file

@ -14,6 +14,7 @@ path = "lib.rs"
[dependencies]
base = { workspace = true }
bitflags = { workspace = true }
log = { workspace = true }
http = { workspace = true }
ipc-channel = { workspace = true }
malloc_size_of = { workspace = true }