We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As of https://developer.chrome.com/devtools/docs/console-api#consolelogobject-object
%O Formats the value as an expandable JavaScript object.
Unless if it not a "standard"? I guess the formatting should be the same as if the object was passed as the first argument of debug.
debug
const payload = { hello: 'world' }; debug('%O', payload); // === debug(payload)
Any opinion on this?
The text was updated successfully, but these errors were encountered:
Hm, it appears that actually this is the same as the %o formatter. Maybe just aliasing it to match other console implementations?
%o
Sorry, something went wrong.
For Node.js you mean? Ya sure, patch welcome.
No branches or pull requests
As of https://developer.chrome.com/devtools/docs/console-api#consolelogobject-object
Unless if it not a "standard"? I guess the formatting should be the same as if the object was passed as the first argument of
debug
.Any opinion on this?
The text was updated successfully, but these errors were encountered: