Skip to content

Commit ad73aa2

Browse files
committed
Update documentation for log() Fix function. (#366)
1 parent d1ed262 commit ad73aa2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,23 @@ include("<path>"[, <dynamicLocalVariables>...])
169169
[Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+include+{")
170170

171171
##### `log`
172-
Send a message to the logs.
172+
173+
Sends a message to the logs.
173174

174175
Parameters:
175176

176-
- `logMessage` specifies the message that should be logged.
177+
- `logMessage` (required): Message to log.
177178

178179
Options:
179180

180-
- `level` sets one of the following log levels: INFO, DEBUG, ERROR, WARN (Default: INFO).
181+
- `level`: Log level to log at (one of `DEBUG`, `INFO`, `WARN` or `ERROR`). (Default: `INFO`)
181182

182183
```perl
183-
log(<logMessage>”,level:DEBUG)
184+
log("<logMessage>"[, level: "<logLevel>"])
184185
```
185186

187+
[Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+log+{")
188+
186189
##### `nothing`
187190

188191
Does nothing. It is used for benchmarking in Catmandu.

0 commit comments

Comments
 (0)