build/logger/logger-debug.js
(开头部分) 53KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.4.0
*/
/****************************************************************************/
/****************************************************************************/
/****************************************************************************/
/**
* The LogMsg class defines a single log message.
*
* @class LogMsg
* @constructor
* @param oConfigs {Object} Object literal of configuration params.
*/
YAHOO.widget.LogMsg = function(oConfigs) {
// Parse configs
if (oConfigs && (oConfigs.constructor == Object)) {
for(var param in oConfigs) {
this[param] = oConfigs[param];
}
}
};
/////////////////////////////////////////////////////////////////////////////
//
// Public member variables
//
/////////////////////////////////////////////////////////////////////////////
/**
* Log message.
*
* @property msg
* @type String
*/
YAHOO.widget.LogMsg.prototype.msg = null;
/**
* Log timestamp.
*
* @property time
* @type Date
*/
YAHOO.widget.LogMsg.prototype.time = null;
/**
* Log category.
*
* @property category
* @type String
*/
YAHOO.widget.LogMsg.prototype.category = null;
/**
* Log source. The first word passed in as the source argument.
*
* @property source
后面还有 1923 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
