import v1.0.0-RC4 | 2009-05-20
This commit is contained in:
116
webdir/javascript/yui/logger/README
Normal file
116
webdir/javascript/yui/logger/README
Normal file
@ -0,0 +1,116 @@
|
||||
Logger Release Notes
|
||||
|
||||
*** version 2.6.0 ***
|
||||
|
||||
* LogWriter source member typo fix
|
||||
* LogReader pause(), resume() work when footerEnabled = false
|
||||
* Console logging in Safari now receives full message
|
||||
* Invalid markup in VERBOSE_TEMPLATE corrected, space re-added after category
|
||||
* Corrected problem where messages containing { content } were getting destroyed
|
||||
|
||||
|
||||
*** version 2.5.2 ***
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
*** version 2.5.1 ***
|
||||
|
||||
* Support object introspection to Firebug.
|
||||
* Better performance when rendering messages to LogReader.
|
||||
|
||||
|
||||
|
||||
*** version 2.5.0 ***
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
|
||||
*** version 2.4.0 ***
|
||||
|
||||
* Global window error event no longer being handled by default. Implemented
|
||||
handleWindowErrors() and unhandleWindowErrors().
|
||||
|
||||
|
||||
|
||||
*** version 2.3.1 ***
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
|
||||
**** version 2.3.0 ****
|
||||
|
||||
* Applied new skinning model.
|
||||
* Logger singleton no longer clobbers itself.
|
||||
* Fixed issues when setting LogReader property footerEnabled to false.
|
||||
|
||||
|
||||
|
||||
**** version 2.2.2 ****
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
|
||||
*** version 2.2.1 ***
|
||||
|
||||
* Updated default ".yui-log-hd h4" font-size to "107%".
|
||||
* Fixed synchronicity issue with pause()/resume() calls and the corresponding
|
||||
LogReader button state.
|
||||
* Better support for "\n" newlines in log messages, while wrapping long lines in
|
||||
verboseOutput mode.
|
||||
* Added draggable and outputBuffer properties to LogReader.
|
||||
* Added showCategory(), hideCategory(), showSource(), hideSource(), and
|
||||
clearConsole() methods to LogReader.
|
||||
* Support for multiple freestanding LogReader instances.
|
||||
* Improved type checking with YAHOO.lang.
|
||||
|
||||
|
||||
|
||||
**** version 2.2.0 ***
|
||||
|
||||
* Implemented expand() and collapse() in LogReader class.
|
||||
* Better internal browser detection.
|
||||
|
||||
|
||||
|
||||
*** version 0.12.2 ***
|
||||
|
||||
* No changes.
|
||||
|
||||
|
||||
|
||||
**** version 0.12.1 ***
|
||||
|
||||
* Fixed issues with setting LogReader's "bottom" property.
|
||||
|
||||
|
||||
|
||||
*** version 0.12.0 ***
|
||||
|
||||
* Added method formatMsg(oLogMsg) to support custom formatting of log messages
|
||||
for output to a LogReader.
|
||||
|
||||
|
||||
|
||||
*** version 0.11.3 ***
|
||||
|
||||
* The Logger static method enableFirebug() has been RENAMED to
|
||||
enableBrowserConsole().
|
||||
* The Logger static method disableFirebug() has been RENAMED to
|
||||
disableBrowserConsole().
|
||||
* By default, the Logger will not automatically output to Firebug or Safari's
|
||||
JavaScript console. To enable this feature, implementers should now explicitly
|
||||
call YAHOO.widget.Logger.enableBrowserConsole().
|
||||
* Implementers may now cap the size of the YAHOO.widget.Logger stack by setting
|
||||
the property YAHOO.widget.Logger.maxStackEntries.
|
||||
* Implementers may now control the number of items displayed in each console by
|
||||
setting the LogReader properties thresholdMax and thresholdMin.
|
||||
|
||||
|
||||
|
||||
*** version 0.11.0 ***
|
||||
|
||||
* Initial release
|
7
webdir/javascript/yui/logger/assets/logger-core.css
Normal file
7
webdir/javascript/yui/logger/assets/logger-core.css
Normal file
@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
*/
|
||||
/* This file intentionally left blank */
|
57
webdir/javascript/yui/logger/assets/logger.css
Normal file
57
webdir/javascript/yui/logger/assets/logger.css
Normal file
@ -0,0 +1,57 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
*/
|
||||
/* logger default styles */
|
||||
/* default width: 31em */
|
||||
/* default font-size 77% */
|
||||
.yui-log {padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}
|
||||
|
||||
/* for containers built from scratch */
|
||||
.yui-log-container {position:absolute;top:1em;right:1em;}
|
||||
|
||||
/* buttons */
|
||||
.yui-log input {
|
||||
margin:0;padding:0;
|
||||
font-family:arial;
|
||||
font-size:100%;
|
||||
font-weight:normal;
|
||||
}
|
||||
.yui-log .yui-log-btns {position:relative;float:right;bottom:.25em;}
|
||||
|
||||
/* header */
|
||||
.yui-log .yui-log-hd {margin-top:1em;padding:.5em;background-color:#575757;}
|
||||
.yui-log .yui-log-hd h4 {margin:0;padding:0;font-size:107%;font-weight:bold;color:#FFF;}
|
||||
|
||||
/* body */
|
||||
|
||||
.yui-log .yui-log-bd {width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;} /* height is controlled here: default 20em*/
|
||||
.yui-log p {margin:1px;padding:.1em;}
|
||||
.yui-log pre {margin:0;padding:0;}
|
||||
|
||||
/* for pre to respect newlines yet wrap long lines */
|
||||
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
|
||||
.yui-log pre.yui-log-verbose {
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
/* footer */
|
||||
.yui-log .yui-log-ft {margin-top:.5em;}
|
||||
.yui-log .yui-log-ft .yui-log-categoryfilters {}
|
||||
.yui-log .yui-log-ft .yui-log-sourcefilters {width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}
|
||||
.yui-log .yui-log-filtergrp {margin-right:.5em;}
|
||||
/*.yui-log .yui-log-ft ul {margin:0;padding:0;line-height:1.8}
|
||||
.yui-log .yui-log-ft li {list-style:none;display:inline;white-space:nowrap;}*/
|
||||
|
||||
/* logs */
|
||||
.yui-log .info {background-color:#A7CC25;} /* A7CC25 green */
|
||||
.yui-log .warn {background-color:#F58516;} /* F58516 orange */
|
||||
.yui-log .error {background-color:#E32F0B;} /* E32F0B red */
|
||||
.yui-log .time {background-color:#A6C9D7;} /* A6C9D7 blue */
|
||||
.yui-log .window {background-color:#F2E886;} /* F2E886 tan */
|
@ -0,0 +1,55 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
*/
|
||||
/* logger default styles */
|
||||
/* default width: 31em */
|
||||
/* default font-size 77% */
|
||||
.yui-skin-sam .yui-log { padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000; }
|
||||
|
||||
/* for containers built from scratch */
|
||||
.yui-skin-sam .yui-log-container { position:absolute;top:1em;right:1em; }
|
||||
|
||||
/* buttons */
|
||||
.yui-skin-sam .yui-log input {
|
||||
margin:0;padding:0;
|
||||
font-family:arial;
|
||||
font-size:100%;
|
||||
font-weight:normal;
|
||||
}
|
||||
.yui-skin-sam .yui-log .yui-log-btns { position:relative;float:right;bottom:.25em; }
|
||||
|
||||
/* header */
|
||||
.yui-skin-sam .yui-log .yui-log-hd { margin-top:1em;padding:.5em;background-color:#575757; }
|
||||
.yui-skin-sam .yui-log .yui-log-hd h4 { margin:0;padding:0;font-size:108%;font-weight:bold;color:#FFF; }
|
||||
|
||||
/* body */
|
||||
|
||||
.yui-skin-sam .yui-log .yui-log-bd { width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto; } /* height is controlled here: default 20em*/
|
||||
.yui-skin-sam .yui-log p { margin:1px;padding:.1em; }
|
||||
.yui-skin-sam .yui-log pre { margin:0;padding:0; }
|
||||
|
||||
/* for pre to respect newlines yet wrap long lines */
|
||||
/* http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ */
|
||||
.yui-skin-sam .yui-log pre.yui-log-verbose {
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
}
|
||||
|
||||
/* footer */
|
||||
.yui-skin-sam .yui-log .yui-log-ft { margin-top:.5em; }
|
||||
.yui-skin-sam .yui-log .yui-log-ft .yui-log-categoryfilters { }
|
||||
.yui-skin-sam .yui-log .yui-log-ft .yui-log-sourcefilters { width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em; }
|
||||
.yui-skin-sam .yui-log .yui-log-filtergrp { margin-right:.5em; }
|
||||
|
||||
/* logs */
|
||||
.yui-skin-sam .yui-log .info { background-color:#A7CC25; } /* A7CC25 green */
|
||||
.yui-skin-sam .yui-log .warn { background-color:#F58516; } /* F58516 orange */
|
||||
.yui-skin-sam .yui-log .error { background-color:#E32F0B; } /* E32F0B red */
|
||||
.yui-skin-sam .yui-log .time { background-color:#A6C9D7; } /* A6C9D7 blue */
|
||||
.yui-skin-sam .yui-log .window { background-color:#F2E886; } /* F2E886 tan */
|
7
webdir/javascript/yui/logger/assets/skins/sam/logger.css
Normal file
7
webdir/javascript/yui/logger/assets/skins/sam/logger.css
Normal file
@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
|
||||
Code licensed under the BSD License:
|
||||
http://developer.yahoo.net/yui/license.txt
|
||||
version: 2.6.0
|
||||
*/
|
||||
.yui-skin-sam .yui-log{padding:1em;width:31em;background-color:#AAA;color:#000;border:1px solid black;font-family:monospace;font-size:77%;text-align:left;z-index:9000;}.yui-skin-sam .yui-log-container{position:absolute;top:1em;right:1em;}.yui-skin-sam .yui-log input{margin:0;padding:0;font-family:arial;font-size:100%;font-weight:normal;}.yui-skin-sam .yui-log .yui-log-btns{position:relative;float:right;bottom:.25em;}.yui-skin-sam .yui-log .yui-log-hd{margin-top:1em;padding:.5em;background-color:#575757;}.yui-skin-sam .yui-log .yui-log-hd h4{margin:0;padding:0;font-size:108%;font-weight:bold;color:#FFF;}.yui-skin-sam .yui-log .yui-log-bd{width:100%;height:20em;background-color:#FFF;border:1px solid gray;overflow:auto;}.yui-skin-sam .yui-log p{margin:1px;padding:.1em;}.yui-skin-sam .yui-log pre{margin:0;padding:0;}.yui-skin-sam .yui-log pre.yui-log-verbose{white-space:pre-wrap;white-space:-moz-pre-wrap !important;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}.yui-skin-sam .yui-log .yui-log-ft{margin-top:.5em;}.yui-skin-sam .yui-log .yui-log-ft .yui-log-categoryfilters{}.yui-skin-sam .yui-log .yui-log-ft .yui-log-sourcefilters{width:100%;border-top:1px solid #575757;margin-top:.75em;padding-top:.75em;}.yui-skin-sam .yui-log .yui-log-filtergrp{margin-right:.5em;}.yui-skin-sam .yui-log .info{background-color:#A7CC25;}.yui-skin-sam .yui-log .warn{background-color:#F58516;}.yui-skin-sam .yui-log .error{background-color:#E32F0B;}.yui-skin-sam .yui-log .time{background-color:#A6C9D7;}.yui-skin-sam .yui-log .window{background-color:#F2E886;}
|
2044
webdir/javascript/yui/logger/logger-debug.js
vendored
Normal file
2044
webdir/javascript/yui/logger/logger-debug.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
webdir/javascript/yui/logger/logger-min.js
vendored
Normal file
9
webdir/javascript/yui/logger/logger-min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2044
webdir/javascript/yui/logger/logger.js
vendored
Normal file
2044
webdir/javascript/yui/logger/logger.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user