diff --git a/README.md b/README.md index ffbab8dc..7641bfcc 100644 --- a/README.md +++ b/README.md @@ -226,22 +226,22 @@ null ``` //record log to init.lua. Call the file after system restart. log.format() - log.startlog(“init.lua”, 1) + log.start(“init.lua”, 1) print(“hello world”) - log.stoplog() + log.stop() ``` ####See also -**-** [log.startlog()](#lg_startlog)
-**-** [log.stoplog()](#lg_stoplog) +**-** [log.start()](#lg_start)
+**-** [log.stop()](#lg_stop) - -## log.startlog() + +## log.start() ####Description start to log input ####Syntax -log.startlog(filename, noparse) +log.start(filename, noparse) ####Parameters @@ -256,23 +256,23 @@ null ``` //record log to init.lua. Call the file after system restart. log.format() - log.startlog(“init.lua”, 1) + log.start(“init.lua”, 1) print(“hello world”) - log.stoplog() + log.stop() //At this point, the content of init.lua is “print(“hello world”)”. When system restart, print(“hello world”) are excuted. ``` ####See also **-** [log.format()](#lg_format)
-**-** [log.stoplog()](#lg_stoplog) +**-** [log.stop()](#lg_stop) - -## log.stoplog() + +## log.stop() ####Description stop log. ####Syntax -log.stoplog() +log.stop() ####Parameters null @@ -285,15 +285,15 @@ null ``` //record log to init.lua. Call the file after system restart. log.format() - log.startlog(“init.lua”, 1) + log.start(“init.lua”, 1) print(“hello world”) - log.stoplog() + log.stop() //At this point, the content of init.lua is “print(“hello world”)”. When system restart, print(“hello world”) are excuted. ``` ####See also **-** [log.format()](#lg_format)
-**-** [log.startlog()](#lg_startlog) +**-** [log.start()](#lg_start) ## log.open()