Passing a Map object to console.log (worker) does not work in either the dashboard nor the wrangler tail. The log “Message” returns empty. This is unexpected since one of the examples logs a Map object: https://developers.cloudflare.com/workers/examples/logging-headers/
Is this a known problem?
So far it looks like you can only pass either a string or a specific type of object to console.log to have it show up on wrangler tail or the dashboard worker log. Something like this…