Closed jmatsushita closed 6 years ago
This allows to use logInfo and logError in the BufAction monad which is quite useful to troubleshoot extensions.
logInfo
logError
BufAction
PS: It would be nice to revive logger too, but I'm not sure which way to go yet. Would a bunch of Show instances on AppState do?
logger
Show
AppState
Looks good; might be nice to use a proper logging framework at some point in the future so that the output location is configurable, but this is a simple and effective change in the meantime 👍
This allows to use
logInfo
andlogError
in theBufAction
monad which is quite useful to troubleshoot extensions.PS: It would be nice to revive
logger
too, but I'm not sure which way to go yet. Would a bunch ofShow
instances onAppState
do?