Add defaultLogActionHPrintDoc to DynFlags
Add defaultLogActionHPrintDoc to DynFlags

We now use this function rather than Outputable.{printSDoc,printErrs}.

Outputable is arguably a better home for the function, but putting it
in DynFlags should dissuade people from using it inappropriately (in
particular, nothing other than the default hooks should have stdout
or stderr hardcoded).

Not exporting it at all would also be an option, but exporting it with
an ungainly name will make it slightly easier for people who want to
send output to other Handles for some reason.

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