Use log_action rather than printErrs in TcRnMonad
Use log_action rather than printErrs in TcRnMonad

We used to write directly to stderr, which couldn't be overridden.

snoyberg/ghc,siddhanathan/ghc,TomMD/ghc,bitemyapp/ghc,holzensp/ghc,tibbe/ghc,ekmett/ghc,ryantm/ghc,TomMD/ghc,urbanslug/ghc,ekmett/ghc,gridaphobe/ghc,nkaretnikov/ghc,lukexi/ghc-7.8-arm64,ml9951/ghc,vikraman/ghc,siddhanathan/ghc,mettekou/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,bitemyapp/ghc,sgillespie/ghc,sdiehl/ghc,mcschroeder/ghc,urbanslug/ghc,snoyberg/ghc,acowley/ghc,nathyong/microghc-ghc,sgillespie/ghc,lukexi/ghc,GaloisInc/halvm-ghc,nkaretnikov/ghc,lukexi/ghc,hferreiro/replay,nomeata/ghc,urbanslug/ghc,ekmett/ghc,hferreiro/replay,olsner/ghc,gcampax/ghc,olsner/ghc,lukexi/ghc,fmthoma/ghc,snoyberg/ghc,mettekou/ghc,jstolarek/ghc,wxwxwwxxx/ghc,nathyong/microghc-ghc,olsner/ghc,green-haskell/ghc,ml9951/ghc,jstolarek/ghc,vTurbine/ghc,AlexanderPankiv/ghc,gridaphobe/ghc,tibbe/ghc,wxwxwwxxx/ghc,ryantm/ghc,vTurbine/ghc,mcschroeder/ghc,anton-dessiatov/ghc,wxwxwwxxx/ghc,vTurbine/ghc,sdiehl/ghc,nomeata/ghc,mcschroeder/ghc,ghc-android/ghc,shlevy/ghc,mfine/ghc,nushio3/ghc,shlevy/ghc,TomMD/ghc,gridaphobe/ghc,tjakway/ghcjvm,nkaretnikov/ghc,nushio3/ghc,TomMD/ghc,green-haskell/ghc,ekmett/ghc,hferreiro/replay,oldmanmike/ghc,green-haskell/ghc,acowley/ghc,vikraman/ghc,vTurbine/ghc,christiaanb/ghc,oldmanmike/ghc,anton-dessiatov/ghc,nushio3/ghc,bitemyapp/ghc,snoyberg/ghc,olsner/ghc,bitemyapp/ghc,elieux/ghc,siddhanathan/ghc,gcampax/ghc,sgillespie/ghc,mfine/ghc,ghc-android/ghc,AlexanderPankiv/ghc,sgillespie/ghc,oldmanmike/ghc,sgillespie/ghc,shlevy/ghc,spacekitteh/smcghc,sdiehl/ghc,frantisekfarka/ghc-dsi,ghc-android/ghc,vikraman/ghc,acowley/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,siddhanathan/ghc,mettekou/ghc,shlevy/ghc,TomMD/ghc,tjakway/ghcjvm,mcschroeder/ghc,siddhanathan/ghc,nkaretnikov/ghc,anton-dessiatov/ghc,vikraman/ghc,da-x/ghc,anton-dessiatov/ghc,ml9951/ghc,nushio3/ghc,ezyang/ghc,da-x/ghc,hferreiro/replay,mettekou/ghc,nushio3/ghc,gridaphobe/ghc,elieux/ghc,nkaretnikov/ghc,nathyong/microghc-ghc,gcampax/ghc,urbanslug/ghc,tjakway/ghcjvm,nushio3/ghc,gridaphobe/ghc,oldmanmike/ghc,mcschroeder/ghc,urbanslug/ghc,anton-dessiatov/ghc,olsner/ghc,wxwxwwxxx/ghc,jstolarek/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,wxwxwwxxx/ghc,forked-upstream-packages-for-ghcjs/ghc,forked-upstream-packages-for-ghcjs/ghc,mfine/ghc,mfine/ghc,vTurbine/ghc,nomeata/ghc,lukexi/ghc-7.8-arm64,hferreiro/replay,urbanslug/ghc,siddhanathan/ghc,holzensp/ghc,AlexanderPankiv/ghc,mcschroeder/ghc,spacekitteh/smcghc,tibbe/ghc,gcampax/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,olsner/ghc,ezyang/ghc,nomeata/ghc,da-x/ghc,mfine/ghc,tibbe/ghc,nkaretnikov/ghc,vikraman/ghc,ml9951/ghc,elieux/ghc,christiaanb/ghc,snoyberg/ghc,wxwxwwxxx/ghc,gcampax/ghc,ghc-android/ghc,vTurbine/ghc,snoyberg/ghc,ml9951/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,hferreiro/replay,TomMD/ghc,ezyang/ghc,ezyang/ghc,ghc-android/ghc,christiaanb/ghc,spacekitteh/smcghc,hferreiro/replay,christiaanb/ghc,spacekitteh/smcghc,sdiehl/ghc,elieux/ghc,sgillespie/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,fmthoma/ghc,frantisekfarka/ghc-dsi,holzensp/ghc,lukexi/ghc-7.8-arm64,GaloisInc/halvm-ghc,tjakway/ghcjvm,ryantm/ghc,christiaanb/ghc,ghc-android/ghc,ml9951/ghc,acowley/ghc,shlevy/ghc,tjakway/ghcjvm,GaloisInc/halvm-ghc,oldmanmike/ghc,anton-dessiatov/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,nomeata/ghc,jstolarek/ghc,TomMD/ghc,urbanslug/ghc,holzensp/ghc,shlevy/ghc,bitemyapp/ghc,vikraman/ghc,wxwxwwxxx/ghc,olsner/ghc,ekmett/ghc,acowley/ghc,lukexi/ghc-7.8-arm64,oldmanmike/ghc,ezyang/ghc,oldmanmike/ghc,ezyang/ghc,fmthoma/ghc,sdiehl/ghc,frantisekfarka/ghc-dsi,mfine/ghc,ml9951/ghc,da-x/ghc,mettekou/ghc,siddhanathan/ghc,nathyong/microghc-ghc,sdiehl/ghc,christiaanb/ghc,mfine/ghc,ghc-android/ghc,anton-dessiatov/ghc,fmthoma/ghc,forked-upstream-packages-for-ghcjs/ghc,ryantm/ghc,nathyong/microghc-ghc,fmthoma/ghc,sdiehl/ghc,elieux/ghc,sgillespie/ghc,ryantm/ghc,da-x/ghc,fmthoma/ghc,holzensp/ghc,ml9951/ghc,tibbe/ghc,frantisekfarka/ghc-dsi,lukexi/ghc,gridaphobe/ghc,vikraman/ghc,acowley/ghc,spacekitteh/smcghc,fmthoma/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,shlevy/ghc,da-x/ghc,elieux/ghc,nkaretnikov/ghc,ezyang/ghc,snoyberg/ghc,tjakway/ghcjvm,lukexi/ghc,da-x/ghc,green-haskell/ghc,gcampax/ghc,GaloisInc/halvm-ghc,nushio3/ghc,elieux/ghc,mettekou/ghc,gridaphobe/ghc,lukexi/ghc-7.8-arm64,jstolarek/ghc,acowley/ghc