diff --git a/README.md b/README.md index 287a9602..2d3e3424 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,21 @@ include(""[, ...]) [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(“”,level:DEBUG) +``` + ##### `nothing` Does nothing. It is used for benchmarking in Catmandu.