mirror of
https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
synced 2025-08-28 20:25:58 +02:00
1411 lines
29 KiB
HTML
1411 lines
29 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||
<meta name="generator" content="JsDoc Toolkit" />
|
||
|
||
<title>JsDoc Reference - CeL.application.debug.log</title>
|
||
|
||
<style type="text/css">
|
||
/* default.css */
|
||
body
|
||
{
|
||
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
|
||
width: 800px;
|
||
}
|
||
|
||
.header
|
||
{
|
||
clear: both;
|
||
background-color: #ccc;
|
||
padding: 8px;
|
||
}
|
||
|
||
h1
|
||
{
|
||
font-size: 150%;
|
||
font-weight: bold;
|
||
padding: 0;
|
||
margin: 1em 0 0 .3em;
|
||
}
|
||
|
||
hr
|
||
{
|
||
border: none 0;
|
||
border-top: 1px solid #7F8FB1;
|
||
height: 1px;
|
||
}
|
||
|
||
pre.code
|
||
{
|
||
display: block;
|
||
padding: 8px;
|
||
border: 1px dashed #ccc;
|
||
}
|
||
|
||
#index
|
||
{
|
||
margin-top: 24px;
|
||
float: left;
|
||
width: 160px;
|
||
position: absolute;
|
||
left: 8px;
|
||
background-color: #F3F3F3;
|
||
padding: 8px;
|
||
}
|
||
|
||
#content
|
||
{
|
||
margin-left: 190px;
|
||
width: 600px;
|
||
}
|
||
|
||
.classList
|
||
{
|
||
list-style-type: none;
|
||
padding: 0;
|
||
margin: 0 0 0 8px;
|
||
font-family: arial, sans-serif;
|
||
font-size: 1em;
|
||
overflow: auto;
|
||
}
|
||
|
||
.classList li
|
||
{
|
||
padding: 0;
|
||
margin: 0 0 8px 0;
|
||
}
|
||
|
||
.summaryTable { width: 100%; }
|
||
|
||
h1.classTitle
|
||
{
|
||
font-size:170%;
|
||
line-height:130%;
|
||
}
|
||
|
||
h2 { font-size: 110%; }
|
||
caption, div.sectionTitle
|
||
{
|
||
background-color: #7F8FB1;
|
||
color: #fff;
|
||
font-size:130%;
|
||
text-align: left;
|
||
padding: 2px 6px 2px 6px;
|
||
border: 1px #7F8FB1 solid;
|
||
}
|
||
|
||
div.sectionTitle { margin-bottom: 8px; }
|
||
.summaryTable thead { display: none; }
|
||
|
||
.summaryTable td
|
||
{
|
||
vertical-align: top;
|
||
padding: 4px;
|
||
border-bottom: 1px #7F8FB1 solid;
|
||
border-right: 1px #7F8FB1 solid;
|
||
}
|
||
|
||
/*col#summaryAttributes {}*/
|
||
.summaryTable td.attributes
|
||
{
|
||
border-left: 1px #7F8FB1 solid;
|
||
width: 140px;
|
||
text-align: right;
|
||
}
|
||
|
||
td.attributes, .fixedFont
|
||
{
|
||
line-height: 15px;
|
||
color: #002EBE;
|
||
font-family: "Courier New",Courier,monospace;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.summaryTable td.nameDescription
|
||
{
|
||
text-align: left;
|
||
font-size: 13px;
|
||
line-height: 15px;
|
||
}
|
||
|
||
.summaryTable td.nameDescription, .description
|
||
{
|
||
line-height: 15px;
|
||
padding: 4px;
|
||
padding-left: 4px;
|
||
}
|
||
|
||
.summaryTable { margin-bottom: 8px; }
|
||
|
||
ul.inheritsList
|
||
{
|
||
list-style: square;
|
||
margin-left: 20px;
|
||
padding-left: 0;
|
||
}
|
||
|
||
.detailList {
|
||
margin-left: 20px;
|
||
line-height: 15px;
|
||
}
|
||
.detailList dt { margin-left: 20px; }
|
||
|
||
.detailList .heading
|
||
{
|
||
font-weight: bold;
|
||
padding-bottom: 6px;
|
||
margin-left: 0;
|
||
}
|
||
|
||
.light, td.attributes, .light a:link, .light a:visited
|
||
{
|
||
color: #777;
|
||
font-style: italic;
|
||
}
|
||
|
||
.fineprint
|
||
{
|
||
text-align: right;
|
||
font-size: 10px;
|
||
}
|
||
</style>
|
||
</head>
|
||
|
||
<body>
|
||
<!-- ============================== header ================================= -->
|
||
<!-- begin static/header.html -->
|
||
<div id="header">
|
||
</div>
|
||
<!-- end static/header.html -->
|
||
|
||
<!-- ============================== classes index ============================ -->
|
||
<div id="index">
|
||
<!-- begin publish.classesIndex -->
|
||
<div align="center"><a href="../index.html">Class Index</a>
|
||
| <a href="../files.html">File Index</a></div>
|
||
<hr />
|
||
<h2>Classes</h2>
|
||
<ul class="classList">
|
||
|
||
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
|
||
|
||
<li><a href="../symbols/CeL.html">CeL</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.debug.html">CeL.application.debug</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.debug.log.html">CeL.application.debug.log</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.locale.html">CeL.application.locale</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.net.html">CeL.application.net</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.net.Ajax.html">CeL.application.net.Ajax</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.html">CeL.application.OS.Windows</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.file.html">CeL.application.OS.Windows.file</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.HTA.html">CeL.application.OS.Windows.HTA</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.job.html">CeL.application.OS.Windows.job</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.registry.html">CeL.application.OS.Windows.registry</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.OS.Windows.WMI.html">CeL.application.OS.Windows.WMI</a></li>
|
||
|
||
<li><a href="../symbols/CeL.application.storage.file.html">CeL.application.storage.file</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.html">CeL.data</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.check.html">CeL.data.check</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.code.API.html">CeL.data.code.API</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.code.compatibility.html">CeL.data.code.compatibility</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.code.reorganize.html">CeL.data.code.reorganize</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.CSV.html">CeL.data.CSV</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.math.html">CeL.data.math</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.math.Hamming.html">CeL.data.math.Hamming</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.math.polynomial.html">CeL.data.math.polynomial</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.math.quotient.html">CeL.data.math.quotient</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.native.html">CeL.data.native</a></li>
|
||
|
||
<li><a href="../symbols/CeL.data.XML.html">CeL.data.XML</a></li>
|
||
|
||
<li><a href="../symbols/CeL.env.html">CeL.env</a></li>
|
||
|
||
<li><a href="../symbols/CeL.interact.DOM.html">CeL.interact.DOM</a></li>
|
||
|
||
<li><a href="../symbols/CeL.interact.form.address.html">CeL.interact.form.address</a></li>
|
||
|
||
<li><a href="../symbols/CeL.interact.form.select_input.html">CeL.interact.form.select_input</a></li>
|
||
|
||
<li><a href="../symbols/CeL.interact.integrate.map.html">CeL.interact.integrate.map</a></li>
|
||
|
||
<li><a href="../symbols/CeL.interact.integrate.SVG.html">CeL.interact.integrate.SVG</a></li>
|
||
|
||
</ul>
|
||
<hr />
|
||
<!-- end publish.classesIndex -->
|
||
</div>
|
||
|
||
<div id="content">
|
||
<!-- ============================== class title ============================ -->
|
||
<h1 class="classTitle">
|
||
|
||
Class CeL.application.debug.log
|
||
</h1>
|
||
|
||
<!-- ============================== class summary ========================== -->
|
||
<p class="description">
|
||
|
||
|
||
|
||
log function
|
||
|
||
|
||
<br /><i>Defined in: </i> <a href="../symbols/src/D__USB_cgi-bin_lib_JS_application_debug_log.origin.js.html">log.origin.js</a>.
|
||
|
||
</p>
|
||
|
||
<!-- ============================== constructor summary ==================== -->
|
||
|
||
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class CeL.application.debug.log.">
|
||
<caption>Class Summary</caption>
|
||
<thead>
|
||
<tr>
|
||
<th scope="col">Constructor Attributes</th>
|
||
<th scope="col">Constructor Name and Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription" >
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#constructor">CeL.application.debug.log</a></b>(obj, className_set)
|
||
</div>
|
||
<div class="description">initial a log tool's instance/object</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
<!-- ============================== properties summary ===================== -->
|
||
|
||
|
||
|
||
<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class CeL.application.debug.log.">
|
||
<caption>Field Summary</caption>
|
||
<thead>
|
||
<tr>
|
||
<th scope="col">Field Attributes</th>
|
||
<th scope="col">Field Name and Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#auto_hide">auto_hide</a></b>
|
||
</div>
|
||
<div class="description">沒有內容時自動隱藏</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#auto_scroll">auto_scroll</a></b>
|
||
</div>
|
||
<div class="description">自動捲動</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#className_set">className_set</a></b>
|
||
</div>
|
||
<div class="description">log 時 warning/error message 之 className</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#clear">clear</a></b>
|
||
</div>
|
||
<div class="description">清除全部訊息 clear message</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#clear_board">clear_board</a></b>
|
||
</div>
|
||
<div class="description">clear log board</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#do_event">do_event</a></b>
|
||
</div>
|
||
<div class="description">在 log 結束時執行,相當於 VB 中 DoEvent() 或 。</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#do_log">do_log</a></b>
|
||
</div>
|
||
<div class="description">log function (no delay)</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#err">err</a></b>
|
||
</div>
|
||
<div class="description">deal with error message</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#error_message">error_message</a></b>
|
||
</div>
|
||
<div class="description">當執行寫檔案或任何錯誤發生時之錯誤訊息。<br/>
|
||
while error occurred.</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#flush">flush</a></b>
|
||
</div>
|
||
<div class="description">auto save log.</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#get_log">get_log</a></b>
|
||
</div>
|
||
<div class="description">獲取當前 buffer 中的 log</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#interval">interval</a></b>
|
||
</div>
|
||
<div class="description">等待多久才顯示 log。若為 0 則直接顯示。<br/>
|
||
(WScript 沒有 setTimeout)</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#log">log</a></b>
|
||
</div>
|
||
<div class="description">class instance 預設作 log 之 function</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#log_encoding">log_encoding</a></b>
|
||
</div>
|
||
<div class="description">在 save log 時的 encoding</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#log_file">log_file</a></b>
|
||
</div>
|
||
<div class="description">save log to this file path</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#log_tag">log_tag</a></b>
|
||
</div>
|
||
<div class="description">log 時使用之 tagName, 可用 div / span 等。若不設定會用 document.createTextNode</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#message_prefix">message_prefix</a></b>
|
||
</div>
|
||
<div class="description">log 時 warning/error message 之 prefix</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#save">save</a></b>
|
||
</div>
|
||
<div class="description">save message</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#save_date">save_date</a></b>
|
||
</div>
|
||
<div class="description">在 save log 時 add date</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#save_limit">save_limit</a></b>
|
||
</div>
|
||
<div class="description">超過這長度才 save。<=0 表示 autoflash,非數字則不紀錄。</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#save_log">save_log</a></b>
|
||
</div>
|
||
<div class="description">boolean or function(message, log level) return save or not</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#save_new_line">save_new_line</a></b>
|
||
</div>
|
||
<div class="description">在 save log 時的換行</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#set_board">set_board</a></b>
|
||
</div>
|
||
<div class="description">設定寫入到哪<br/>set log board for each instance (document object)</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#toggle">toggle</a></b>
|
||
</div>
|
||
<div class="description">show/hide log board</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">
|
||
<b><a href="../symbols/CeL.application.debug.log.html#warn">warn</a></b>
|
||
</div>
|
||
<div class="description">log a warning</div>
|
||
</td>
|
||
</tr>
|
||
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
|
||
|
||
|
||
<!-- ============================== methods summary ======================== -->
|
||
|
||
|
||
|
||
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class CeL.application.debug.log.">
|
||
<caption>Method Summary</caption>
|
||
<thead>
|
||
<tr>
|
||
<th scope="col">Method Attributes</th>
|
||
<th scope="col">Method Name and Description</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
|
||
<tr>
|
||
<td class="attributes"><private> <static> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">CeL.application.debug.log.<b><a href="../symbols/CeL.application.debug.log.html#.do_log">do_log</a></b>(id)
|
||
</div>
|
||
<div class="description">do the log action</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"><static> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">CeL.application.debug.log.<b><a href="../symbols/CeL.application.debug.log.html#.get_error_message">get_error_message</a></b>(e, new_line, caller)
|
||
</div>
|
||
<div class="description">對各種不同 error object 作應對,獲得可理解的 error message。</div>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td class="attributes"><static> </td>
|
||
<td class="nameDescription">
|
||
<div class="fixedFont">CeL.application.debug.log.<b><a href="../symbols/CeL.application.debug.log.html#.node_description">node_description</a></b>(node, flag)
|
||
</div>
|
||
<div class="description">get node description</div>
|
||
</td>
|
||
</tr>
|
||
|
||
</tbody>
|
||
</table>
|
||
|
||
|
||
|
||
|
||
<!-- ============================== events summary ======================== -->
|
||
|
||
|
||
<!-- ============================== constructor details ==================== -->
|
||
|
||
<div class="details"><a name="constructor"> </a>
|
||
<div class="sectionTitle">
|
||
Class Detail
|
||
</div>
|
||
|
||
<div class="fixedFont">
|
||
<b>CeL.application.debug.log</b>(obj, className_set)
|
||
</div>
|
||
|
||
<div class="description">
|
||
initial a log tool's instance/object
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Parameters:</dt>
|
||
|
||
<dt>
|
||
<span class="light fixedFont">{String|object HTMLElement}</span> <b>obj</b>
|
||
|
||
</dt>
|
||
<dd>log target: message area element or id</dd>
|
||
|
||
<dt>
|
||
<span class="light fixedFont">{Object}</span> <b>className_set</b>
|
||
<i>Optional</i>
|
||
</dt>
|
||
<dd>class name set</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Since:</dt>
|
||
<dd>2008/8/20 23:9:48</dd>
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Requires:</dt>
|
||
|
||
<dd>gDate(),NewLine,fso</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">See:</dt>
|
||
|
||
<dd>usage: <a href="#.extend">CeL.application.debug.log.extend</a></dd>
|
||
|
||
</dl>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<!-- ============================== field details ========================== -->
|
||
|
||
<div class="sectionTitle">
|
||
Field Detail
|
||
</div>
|
||
|
||
<a name="auto_hide"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>auto_hide</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
沒有內容時自動隱藏
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Deprecated:</dt>
|
||
<dt>
|
||
TODO
|
||
</dt>
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="auto_scroll"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>auto_scroll</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
自動捲動
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="className_set"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>className_set</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
log 時 warning/error message 之 className
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="clear"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>clear</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
清除全部訊息 clear message
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="clear_board"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>clear_board</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
clear log board
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="do_event"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>do_event</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
在 log 結束時執行,相當於 VB 中 DoEvent() 或 。
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="do_log"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>do_log</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
log function (no delay)
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="err"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>err</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
deal with error message
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="error_message"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>error_message</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
當執行寫檔案或任何錯誤發生時之錯誤訊息。<br/>
|
||
while error occurred.. should read only
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="flush"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>flush</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
auto save log. 若未設定,記得在 onunload 時 .save()
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="get_log"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>get_log</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
獲取當前 buffer 中的 log
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="interval"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>interval</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
等待多久才顯示 log。若為 0 則直接顯示。<br/>
|
||
(WScript 沒有 setTimeout)
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="log"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>log</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
class instance 預設作 log 之 function
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="log_encoding"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>log_encoding</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
在 save log 時的 encoding
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="log_file"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>log_file</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
save log to this file path
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="log_tag"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>log_tag</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
log 時使用之 tagName, 可用 div / span 等。若不設定會用 document.createTextNode
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="message_prefix"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>message_prefix</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
log 時 warning/error message 之 prefix
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="save"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>save</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
save message
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="save_date"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>save_date</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
在 save log 時 add date
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="save_limit"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Number}</span>
|
||
<b>save_limit</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
超過這長度才 save。<=0 表示 autoflash,非數字則不紀錄。
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="save_log"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{Boolean}</span>
|
||
<b>save_log</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
boolean or function(message, log level) return save or not
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="save_new_line"> </a>
|
||
<div class="fixedFont">
|
||
|
||
<span class="light">{string}</span>
|
||
<b>save_new_line</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
在 save log 時的換行
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="set_board"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>set_board</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
設定寫入到哪<br/>set log board for each instance (document object)
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="toggle"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>toggle</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
show/hide log board
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name="warn"> </a>
|
||
<div class="fixedFont">
|
||
|
||
|
||
<b>warn</b>
|
||
|
||
</div>
|
||
<div class="description">
|
||
log a warning
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- ============================== method details ========================= -->
|
||
|
||
<div class="sectionTitle">
|
||
Method Detail
|
||
</div>
|
||
|
||
<a name=".do_log"> </a>
|
||
<div class="fixedFont"><private> <static>
|
||
|
||
|
||
<span class="light">CeL.application.debug.log.</span><b>do_log</b>(id)
|
||
|
||
</div>
|
||
<div class="description">
|
||
do the log action
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Parameters:</dt>
|
||
|
||
<dt>
|
||
<b>id</b>
|
||
|
||
</dt>
|
||
<dd></dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<hr />
|
||
|
||
<a name=".get_error_message"> </a>
|
||
<div class="fixedFont"><static>
|
||
|
||
|
||
<span class="light">CeL.application.debug.log.</span><b>get_error_message</b>(e, new_line, caller)
|
||
|
||
</div>
|
||
<div class="description">
|
||
對各種不同 error object 作應對,獲得可理解的 error message。
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Parameters:</dt>
|
||
|
||
<dt>
|
||
<b>e</b>
|
||
|
||
</dt>
|
||
<dd>error object</dd>
|
||
|
||
<dt>
|
||
<b>new_line</b>
|
||
|
||
</dt>
|
||
<dd>new_line</dd>
|
||
|
||
<dt>
|
||
<b>caller</b>
|
||
|
||
</dt>
|
||
<dd>function caller</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">See:</dt>
|
||
|
||
<dd>http://msdn.microsoft.com/en-us/library/ms976144.aspx
|
||
The facility code establishes who originated the error. For example, all internal script engine errors generated by the JScript engine have a facility code of "A".
|
||
http://msdn.microsoft.com/en-us/library/ms690088(VS.85).aspx
|
||
|
||
http://msdn.microsoft.com/en-us/library/t9zk6eay.aspx
|
||
http://msdn.microsoft.com/en-us/library/microsoft.jscript.errorobject.aspx
|
||
Specifies the name of the type of the error.
|
||
Possible values include Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, and URIError.</dd>
|
||
|
||
</dl>
|
||
|
||
|
||
<hr />
|
||
|
||
<a name=".node_description"> </a>
|
||
<div class="fixedFont"><static>
|
||
|
||
|
||
<span class="light">CeL.application.debug.log.</span><b>node_description</b>(node, flag)
|
||
|
||
</div>
|
||
<div class="description">
|
||
get node description
|
||
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<dl class="detailList">
|
||
<dt class="heading">Parameters:</dt>
|
||
|
||
<dt>
|
||
<b>node</b>
|
||
|
||
</dt>
|
||
<dd>HTML node</dd>
|
||
|
||
<dt>
|
||
<b>flag</b>
|
||
|
||
</dt>
|
||
<dd></dd>
|
||
|
||
</dl>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- ============================== event details ========================= -->
|
||
|
||
|
||
<hr />
|
||
</div>
|
||
|
||
|
||
<!-- ============================== footer ================================= -->
|
||
<div class="fineprint" style="clear:both">
|
||
|
||
Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Sat Aug 20 2011 15:07:29 GMT+0800 (CST)
|
||
</div>
|
||
</body>
|
||
</html>
|