diff --git a/README.md b/README.md index 93e0551..03616f6 100644 --- a/README.md +++ b/README.md @@ -87,13 +87,19 @@ EasyLogger拥有过滤方式、输出格式、输出开关这些属性。 下图为在终端中输入命令来控制日志的输出及过滤器的设置,更加直观的展示了EasyLogger核心功能。 -![easylogger](https://raw.githubusercontent.com/armink/EasyLogger/master/docs/images/EasyLoggerDemo.gif) +![easylogger](http://git.oschina.net/Armink/EasyLogger/raw/master/docs/zh/images/EasyLoggerDemo.gif) > 注:以上内容对应的API,可以打开[思维导图](http://naotu.baidu.com/viewshare.html?shareId=ausqm3j44f4k)看到更清晰的逻辑。 +### 2.6.2 Flash Log + +下图过程为通过控制台输出日志,并将输出的日志存储到Flash中。重启再读取上次保存的日志,最后清空Flash日志。 + +![FlashLog](http://git.oschina.net/Armink/EasyLogger/raw/master/docs/zh/images/LogDemo.gif) + # 3. 后期 -- ~~1、Flash存储:在[EasyFlash](https://github.com/armink/EasyFlash)中增加日志存储、读取功能,让EasyLogger与其无缝对接。使日志可以更加容易的存储在 **非文件系统** 中,~~并具有历史日检索的功能; +- 1、~~Flash存储:在[EasyFlash](https://github.com/armink/EasyFlash)中增加日志存储、读取功能,让EasyLogger与其无缝对接。使日志可以更加容易的存储在 **非文件系统** 中,~~并具有历史日检索的功能; - 2、异步输出:目前日志输出与用户代码之间是同步的方式,这种方式虽然软件简单,也不存在日志覆盖的问题。但在输出速度较低的平台下,会由于增加日志功能,而降低软件运行速度。所以后期会增加 **异步输出** 方式,关键字过滤也会放到异步输出中去; - 3、日志助手:开发跨平台的日志助手,兼容Linux、Windows、Mac系统,打开助手即可查看、过滤(支持正则表达式)、排序、保存日志等,计划使用[NW.js](http://www.oschina.net/p/nwjs)框架; - 4、文件转档:文件系统下支持文件按容量转档,按时间区分; diff --git a/docs/en/api.md b/docs/en/api.md new file mode 100644 index 0000000..f65681d --- /dev/null +++ b/docs/en/api.md @@ -0,0 +1 @@ +# Coming soon... \ No newline at end of file diff --git a/docs/images/EasyLoggerDemo.gif b/docs/en/images/EasyLoggerDemo.gif similarity index 100% rename from docs/images/EasyLoggerDemo.gif rename to docs/en/images/EasyLoggerDemo.gif diff --git a/docs/en/images/LogDemo.gif b/docs/en/images/LogDemo.gif new file mode 100644 index 0000000..b99b662 Binary files /dev/null and b/docs/en/images/LogDemo.gif differ diff --git a/docs/en/readme.md b/docs/en/readme.md new file mode 100644 index 0000000..916db5a --- /dev/null +++ b/docs/en/readme.md @@ -0,0 +1,3 @@ +|File name |Description| +|:----- |:----| +|api.md |API description| \ No newline at end of file diff --git a/docs/readme.md b/docs/readme.md new file mode 100644 index 0000000..da9229a --- /dev/null +++ b/docs/readme.md @@ -0,0 +1,4 @@ +|File or folder name |Description| +|:----- |:----| +|en |English documents| +|zh |中文文档(简体)| \ No newline at end of file diff --git a/docs/zh/api.md b/docs/zh/api.md new file mode 100644 index 0000000..56965e6 --- /dev/null +++ b/docs/zh/api.md @@ -0,0 +1 @@ +#即将发布... \ No newline at end of file diff --git a/docs/zh/images/EasyLoggerDemo.gif b/docs/zh/images/EasyLoggerDemo.gif new file mode 100644 index 0000000..dd28138 Binary files /dev/null and b/docs/zh/images/EasyLoggerDemo.gif differ diff --git a/docs/zh/images/LogDemo.gif b/docs/zh/images/LogDemo.gif new file mode 100644 index 0000000..b99b662 Binary files /dev/null and b/docs/zh/images/LogDemo.gif differ diff --git a/docs/zh/readme.md b/docs/zh/readme.md new file mode 100644 index 0000000..d01eeaf --- /dev/null +++ b/docs/zh/readme.md @@ -0,0 +1,3 @@ +|文件名 |描述| +|:----- |:----| +|api.md |API 说明| \ No newline at end of file