Skip to content
New issue

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

Y.log uses deprecated util.error on Node.js v0.12 #1988

Open
okuryu opened this issue Mar 11, 2015 · 0 comments
Open

Y.log uses deprecated util.error on Node.js v0.12 #1988

okuryu opened this issue Mar 11, 2015 · 0 comments

Comments

@okuryu
Copy link
Member

okuryu commented Mar 11, 2015

I've received a bug report yui/yuidoc#325. This is an issue for tracking.

$ node -e 'require("yui").YUI().use("base", function (Y) { Y.log("This is an error.", "error"); })'
util.error: Use console.error instead
error: This is an error.
$ node -v
v0.12.0

There is the related source code.
https://github.com/yui/yui3/blob/master/src/yui/js/yui-log-nodejs.js

@okuryu okuryu mentioned this issue Mar 22, 2015
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant