Permalink
Browse files

doc: fix a little

  • Loading branch information...
1 parent 9c7f727 commit d452f571e48d80a2730280c654d0fa22e3c1c752 @HardySimpson committed Jun 1, 2012
Showing with 39 additions and 6 deletions.
  1. +1 −1 .gitignore
  2. +31 −2 doc/UsersGuide-CN.lyx
  3. +7 −3 doc/UsersGuide-EN.lyx
View
@@ -42,4 +42,4 @@ doc/*.pdf
doc/obj.think
doc/zlog.3
doc/zlogtest.xls
-
+zlog-*.tar.gz
View
@@ -1500,7 +1500,7 @@ ZLOG_INFO(c, "hello, zlog");
\begin_layout Standard
\begin_inset Tabular
-<lyxtabular version="3" rows="17" columns="3">
+<lyxtabular version="3" rows="18" columns="3">
<features islongtable="true">
<column alignment="center" valignment="top" width="10text%">
<column alignment="center" valignment="top" width="50text%">
@@ -1900,6 +1900,35 @@ n
\begin_inset Text
\begin_layout Plain Layout
+%U
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+调用函数名,来自于__func__(C99)或者__FUNCTION__(gcc),如果编译器支持的话。
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+main
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
%V
\end_layout
@@ -4470,7 +4499,7 @@ out.log(new create)
\end_layout
\begin_layout Standard
-最旧的文件有最大的序列号
+最旧的文件有最大的序列号。如果不写*3,则意味这一直转档下去,不会删除任何旧的日志。
\end_layout
\begin_layout Standard
View
@@ -2040,7 +2040,7 @@ Used to output the id of the process that generated the logging event, which
\begin_inset Text
\begin_layout Plain Layout
-
+%U
\end_layout
\end_inset
@@ -2049,7 +2049,9 @@ Used to output the id of the process that generated the logging event, which
\begin_inset Text
\begin_layout Plain Layout
-
+Used to output the funtion name where the logging request was issued.
+ It comes from __func__(C99) or __FUNCION__(gcc) macro, with the support
+ of complier.
\end_layout
\end_inset
@@ -2058,7 +2060,7 @@ Used to output the id of the process that generated the logging event, which
\begin_inset Text
\begin_layout Plain Layout
-
+main
\end_layout
\end_inset
@@ -4725,6 +4727,8 @@ out.log(new create)
\begin_layout Standard
So the oldest log has the biggest serial number.
+ If *3 is not written, it means rotation will be continue and no old log
+ will be deleted.
\end_layout
\begin_layout Standard

0 comments on commit d452f57

Please sign in to comment.