Simple log functions for ramda
npm install ramda-logSimple logging funtions for Ramda
logToConsole will output whatever value it receives to console.log:
``
const f = compose(
logToConsole('D'),
add(1),
logToConsole('C'),
add(1),
logToConsole('B'),
add(1),
logToConsole('A'),
)
const result = f(0) // Logs: 'A:0', 'B:1', 'C:2', 'D:3'
result // 4
`
log allows you to customise where the value is sent - for example you could route it to a logger. It is used by logToConsole:
```
const logToConsole = log(console.log)