fpco / ide-backend

ide-backend drives the GHC API to build, query, and run your code
120 stars 17 forks source link

Add logging #296

Closed mgsloan closed 9 years ago

mgsloan commented 9 years ago

It'd be nice to be able to add warning / info messages to ide-backend. Two recent cases where this would be helpful:

1) Warning the user when GHC_PACKAGE_PATH is being unset (see #295 / #294).

2) Warning when there might be an ide-backend / ide-backend-server mismatch #292

One thing to note is that some ide-backend users assume it's silent. In particular, stack-ide uses stdout, with a particular protocol, for communication.

mgsloan commented 9 years ago

Done!