Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
bce59831
Commit
bce59831
authored
Nov 07, 2014
by
funshine
Browse files
update readme
parent
07027385
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bce59831
...
...
@@ -226,22 +226,22 @@ null
```
//record log to init.lua. Call the file after system restart.
log.format()
log.start
log
(“init.lua”, 1)
log.start(“init.lua”, 1)
print(“hello world”)
log.stop
log
()
log.stop()
```
####See also
**-**
[
log.start
log
()
](
#lg_start
log
)
<br
/>
**-**
[
log.stop
log
()
](
#lg_stop
log
)
**-**
[
log.start()
](
#lg_start
)
<br
/>
**-**
[
log.stop()
](
#lg_stop
)
<a
id=
"lg_start
log
"
></a>
## log.start
log
()
<a
id=
"lg_start"
></a>
## log.start()
####Description
start to log input
####Syntax
log.start
log
(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.start
log
(“init.lua”, 1)
log.start(“init.lua”, 1)
print(“hello world”)
log.stop
log
()
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
)
<br
/>
**-**
[
log.stop
log
()
](
#lg_stop
log
)
**-**
[
log.stop()
](
#lg_stop
)
<a
id=
"lg_stop
log
"
></a>
## log.stop
log
()
<a
id=
"lg_stop"
></a>
## log.stop()
####Description
stop log.
####Syntax
log.stop
log
()
log.stop()
####Parameters
null
...
...
@@ -285,15 +285,15 @@ null
```
//record log to init.lua. Call the file after system restart.
log.format()
log.start
log
(“init.lua”, 1)
log.start(“init.lua”, 1)
print(“hello world”)
log.stop
log
()
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
)
<br
/>
**-**
[
log.start
log
()
](
#lg_start
log
)
**-**
[
log.start()
](
#lg_start
)
<a
id=
"lg_open"
></a>
## log.open()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment