Skip to content

Commit

Permalink
Add documentation for log #319
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 25, 2024
1 parent 5d15e0e commit d1ed262
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,21 @@ 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.

Parameters:

- `logMessage` specifies the message that should be logged.

Options:

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

```perl
log(“<logMessage>”,level:DEBUG)
```

##### `nothing`

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

0 comments on commit d1ed262

Please sign in to comment.