📄 eblog.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>( )</b> - store the format string to task templete buffer.<br>
<b><a href="./eblog.html#ebLogMsg">ebLogMsg</a>( )</b> - dispaly log message to stderr<br>
<b><a href="./eblog.html#ebLogMsg2">ebLogMsg2</a>( )</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( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebMakeMsg( )</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>( )</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( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebLogMsg( )</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>( )</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>
#define <b>EBLOG_NOTICE</b> 0x0000 /@ notice @/<br>
#define <b>EBLOG_WARNING</b> 0x0010 /@ warning @/<br>
#define <b>EBLOG_USRBASE</b> 0x0100 /@ user log rang @/<br>
#define <b>EBLOG_ERROR</b> 0x1000 /@ error @/
<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>( )</b>, <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>( )</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( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
<p><strong>ebLogMsg2( )</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>( )</b> to format output string.
<p>
</blockquote><h4>ALSO SEE</h4><blockquote><p>
<p>
<b><a href="./eblog.html#ebLogMsg">ebLogMsg</a>( )</b>, <b><a href="./eblog.html#ebMakeMsg">ebMakeMsg</a>( )</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 + -