Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmalloc committed Sep 18, 2013
1 parent e340e50 commit e5866b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ you can use "sh build.sh" to build the testing application and also i suggest y
you can use this log module by the follow guiding:
```cpp
log_init(LL_TRACE, "mysql", "./log/");
log_notice("%s [time:%d]\n", "test calling log", time(NULL));
log_debug("debug msg,only write to log when the loglevel bigger than or equal to debug");
log_warn("warnning msg will be writing to the error files");
log_notice("%s [time:%d]", "test calling log", time(NULL));
log_debug("debug msg,only write to log when the loglevel bigger than or equal to debug [time:%d]", time(NULL));
log_warn("warnning msg will be writing to the error files [time:%d]", time(NULL));
log_error("you also can change number of output files by rewrite the macro_define.h");
```
and also you don't need to call close befor your application exit
Expand Down

0 comments on commit e5866b3

Please sign in to comment.