⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eblog.html

📁 eybuild中文手册 eybuild中文手册 eybuild中文手册
💻 HTML
字号:
<html>
<head>
<!-- E:/eybuild/doc/export//eblog.html - generated by refgen from eblog.c -->
 <title> eblog </title>
</head>
<body bgcolor="#FFFFFF"> <hr>

<a name="top"></a>
<p align=right>
<a href="libIndex.htm"><i>eyBuildLib API Reference :  eyBuildLib</i></a></p>

</blockquote><h1>eblog</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>eblog</strong> - log module </p>


</blockquote><h4>ROUTINES</h4><blockquote><p>
<p>
<b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>(&nbsp;)</b>  -  store the format string to task templete buffer.<br>
<b><a href="./eblog.html#ebLogMsg">ebLogMsg</a>(&nbsp;)</b>  -  dispaly log message to stderr<br>
<b><a href="./eblog.html#ebLogMsg2">ebLogMsg2</a>(&nbsp;)</b>  -  dispaly log message to stderr<br>
<p>
</blockquote><h4>DESCRIPTION</h4><blockquote><p>
log module
<p>
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<p>
<b>eberor.h</b>, <b>ebcblock.h</b>

<hr>
<a name="ebMakeMsg"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>ebMakeMsg(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebMakeMsg(&nbsp;)</strong> - store the format string to task templete buffer.</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>char * ebMakeMsg
    (
    char * fmt,
           ...
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine store the format string to task templete buffer. 
<p>
</blockquote><h4>ALSO SEE</h4><blockquote><p>
<p>
<b><a href="./ebcblock.html#getEbCBlock">getEbCBlock</a>(&nbsp;)</b>
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./eblog.html#top">eblog</a></b>

<hr>
<a name="ebLogMsg"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>ebLogMsg(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebLogMsg(&nbsp;)</strong> - dispaly log message to stderr</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int ebLogMsg
    (
    int    type,              /* log type */
    char * msg                /* message */
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine dispaly log message to stderr, include filename 
and line number(if <b>HAVE_LOG_SHORT</b> macro not defined). 
Usually, call <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>(&nbsp;)</b> to format output string.
<p>
This routine is a macro define, you can define <b>HAVE_LOG_SHORT</b> to 
cance display filename and line number in release version.
<p>
There are for type 4 level type for log message:<br>
&nbsp;&nbsp;#define&nbsp;<b>EBLOG_NOTICE</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0000&nbsp;&nbsp;/@&nbsp;notice&nbsp;@/<br>
&nbsp;&nbsp;#define&nbsp;<b>EBLOG_WARNING</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0010&nbsp;&nbsp;/@&nbsp;warning&nbsp;@/<br>
&nbsp;&nbsp;#define&nbsp;<b>EBLOG_USRBASE</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x0100&nbsp;&nbsp;/@&nbsp;user&nbsp;log&nbsp;rang&nbsp;@/<br>
&nbsp;&nbsp;#define&nbsp;<b>EBLOG_ERROR</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x1000&nbsp;&nbsp;/@&nbsp;error&nbsp;@/
<p>
<pre>ebLogMsg(EBLOG_WARNING + 2, "Warning level 2");
</pre>

</blockquote><h4>ALSO SEE</h4><blockquote><p>
<p>
<b><a href="./eblog.html#ebLogMsg2">ebLogMsg2</a>(&nbsp;)</b>, <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>(&nbsp;)</b>.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./eblog.html#top">eblog</a></b>

<hr>
<a name="ebLogMsg2"></a>
<p align=right>
<a href="rtnIndex.htm"><i>eyBuildLib :  Routines</i></a></p>

</blockquote><h1>ebLogMsg2(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  
<p><strong>ebLogMsg2(&nbsp;)</strong> - dispaly log message to stderr</p>

</blockquote><h4>SYNOPSIS</h4><blockquote><p>
<pre>int ebLogMsg2
    (
    char * file,              /* file name */
    int    line,              /* line number */
    int    type,              /* log type */
    char * msg                /* message */
    )
</pre>

</blockquote><h4>DESCRIPTION</h4><blockquote><p>
this routine dispaly log message to stderr, include filename 
and line number(if <b>HAVE_LOG_SHORT</b> macro not defined). 
Usually, call <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>(&nbsp;)</b> to format output string.
<p>
</blockquote><h4>ALSO SEE</h4><blockquote><p>
<p>
<b><a href="./eblog.html#ebLogMsg">ebLogMsg</a>(&nbsp;)</b>, <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>(&nbsp;)</b>.
<p>
</blockquote><h4>RETURNS</h4><blockquote><p>
OK/ERROR
</blockquote><h4>SEE ALSO</h4><blockquote><p>
<b><a href="./eblog.html#top">eblog</a></b>

</body>
</html>



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -