File tree 1 file changed +10
-12
lines changed
doc/reference/reference_lua
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -108,23 +108,21 @@ Below is a list of all ``log`` functions.
108
108
109
109
* A message can be a string.
110
110
111
- * A messages may contain C-style format specifiers ``%d `` or
112
- ``%s ``. Example:
111
+ * A message may contain C-style format specifiers ``%d `` or ``%s ``. Example:
113
112
114
- .. code-block :: lua
113
+ .. code-block :: lua
115
114
116
- box.cfg{}
117
- log = require('log')
118
- log.info('Info %s', box.info.version)
115
+ box.cfg{}
116
+ log = require('log')
117
+ log.info('Info %s', box.info.version)
119
118
120
- * A message may be other scalar data types,
121
- or even tables. Example:
119
+ * A message may be a scalar data type or a table. Example:
122
120
123
- .. code-block :: lua
121
+ .. code-block :: lua
124
122
125
- box.cfg{}
126
- log = require('log')
127
- log.error({500,'Internal error'})
123
+ box.cfg{}
124
+ log = require('log')
125
+ log.error({500,'Internal error'})
128
126
129
127
:return: nil
130
128
You can’t perform that action at this time.
0 commit comments