Skip to content

Commit

Permalink
Update documentation for log() Fix function. (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Oct 2, 2024
1 parent d1ed262 commit ad73aa2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,20 +169,23 @@ include("<path>"[, <dynamicLocalVariables>...])
[Java Code](https://github.com/search?type=code&q=repo:metafacture/metafacture-fix+path:FixMethod.java+"+include+{")

##### `log`
Send a message to the logs.

Sends a message to the logs.

Parameters:

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

Options:

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

```perl
log(<logMessage>”,level:DEBUG)
log("<logMessage>"[, level: "<logLevel>"])
```

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

##### `nothing`

Does nothing. It is used for benchmarking in Catmandu.
Expand Down

0 comments on commit ad73aa2

Please sign in to comment.