| Page 1 of 1 | [ 3 posts ] |
Khoa Bui
|
I learn that there is a config option "filter" in YUI().use() that instruct the loader to load raw or debug version files.
My question is, in case of debug, where can I see the logged info? Is it written to log file, where the file located? Is it written to console, how can I open the console? |
Juan Ignacio DopazoYUI Contributor
|
In order to turn on debug messages you need to use filter: 'debug':
Code: YUI({ filter: 'debug' }).use() This is by default printed to the browser console. How to open the console varies from browser to browser, but F12 is usually the way to open the developer tools. You can also open a YUI Console, which is a Widget. The Console user guide explains how to use it and filter messages by log level. |
Khoa Bui
|
Thanks Juan, I can see the log in 'debug' filter mode. But there are lot of messages, so I will manage to use 'raw' filter and add my own log only.
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group