log warning - part-cw/lambdanative GitHub Wiki
(log-warning s . x)
log-warning logs message with WARNING prefix.
Note: The logger only writes logfiles if the folder log
exists.
It may need to be created using (if (not (file-exists? log:path)) (create-directory log:path))
Parameter | Description |
---|---|
s | String to log |
x | Optional: Additional information to be logged (e.g. values needed for debugging) |
Example
Example 1: As used in the redcap module:
(log-warning "Cannot import to REDCap, no valid connection")