profile.html revision 998276643802ff9fb197fe220cbd9552da00a624
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <link type="text/css" rel="stylesheet" href="/assets/dpSyntaxHighlighter.css">
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <link type="text/css" rel="stylesheet" href="/profile-report/table.css">
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsync <link type="text/css" rel="stylesheet" href="/build/console/assets/skins/sam/console-filters.css">
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync clear: both;
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync.yui-skin-sam #c .yui-console {
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync position: relative;
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync right: auto;
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync margin-bottom: 1em;
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <input type="button" id="info" value="Log info msg">
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <input type="button" id="warn" value="Log warn msg">
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <input type="button" id="error" value="Log error msg">
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <button type="button" id="collapse">Collapse</button>
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <button type="button" id="destroy">Destroy</button>
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync <button type="button" id="throttle">Throttle</button>
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync<script type="text/javascript" src="/build/yui/yui.js"></script>
23d8f7aff045c2bade1b168fee79a3e4749e2345vboxsync<script type="text/javascript" src="/profile-report/profiler.js"></script>
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync<script type="text/javascript" src="/profile-report/profile-report.js"></script>
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsync<script type="text/javascript" src="/profile-report/table.js"></script>
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsync //logLevel: 'warn',
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsync filter: 'debug',
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync //logInclude : { global: true },
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync useBrowserConsole:false
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync}).use('profile-report','table','console','profiler', function (Y) {
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync/****************************************************************************/
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync/*********************** Testing area begins here **************************/
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync/****************************************************************************/
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsyncvar yconsole = new Y.Console({
5c4d7e2aae42bbf39793dfa686925f076a56b4d5vboxsync //verbose : true,
9540ab73f6cd0c76f44f6bbfe73f89ac145390b8vboxsync //consoleLimit : 10,
e250515922582e0410c9bcb6d24b0f17bef083a0vboxsync logLevel : "Garbage",
9540ab73f6cd0c76f44f6bbfe73f89ac145390b8vboxsync newestOnTop : false
9540ab73f6cd0c76f44f6bbfe73f89ac145390b8vboxsyncP.renderFullReport("Construction");
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncY.log('testing known category','info');
e250515922582e0410c9bcb6d24b0f17bef083a0vboxsyncreport("<code>Y.log('testing known category','info')</code>");
19320d55d1417c39b3b5673a53aaa5ef177242c8vboxsyncY.log('testing new category','foo');
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncreport("<code>Y.log('testing new category','foo')</code>");
29099c2d04b11e614f1fa399fab9e9162f2788b9vboxsyncY.log('testing known source','info','global');
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncreport("<code>Y.log('testing known source','info','global')</code>");
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncY.log('testing new source','info','bar');
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncreport("<code>Y.log('testing new source','info','bar')</code>");
c66c4413faa5a72ce047742f9acfa85e94dec8afvboxsyncyconsole.log("Test from the console object",'info','Console');
c66c4413faa5a72ce047742f9acfa85e94dec8afvboxsyncreport("<code>yconsole.log('Test from Console object',..)</code>");
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncY.on('click',function (e) { Y.log('FOO message '+(++x.foo),'foo'); },'#foo');
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncY.on('click',function (e) { Y.log('INFO message '+(++x.info)); },'#info');
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsyncY.on('click',function (e) { Y.log('WARN message '+(++x.warn),'warn'); },'#warn');
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.on('click',function (e) { Y.log('ERROR message '+(++x.error),'error'); },'#error');
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#hide').on('click', function () { yconsole.hide(); });
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#show').on('click', function () { yconsole.show(); });
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#collapse').on('click', function () { yconsole.collapse(); });
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#expand').on('click', function () { yconsole.expand(); });
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#destroy').on('click', function () { yconsole.destroy(); });
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#throttle').on('click', function () {
0c94a8282c9042b02f022302a3d987746140eab9vboxsyncY.get('#report').on('click', function () { P.renderFullReport("Activity since last report"); });
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsync<script type="text/javascript" src="/assets/dpSyntaxHighlighter.js"></script>
0c69348b58bb8eabb1bea8867ee932b667bd0d34vboxsync<script type="text/javascript" src="/assets/dpSyntaxHighlightExample.js"></script>