ghcide-2.9.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageGHC2021

Development.IDE.GHC.Compat.Logger

Description

Compat module for GHC 9.2 Logger infrastructure.

Synopsis

Documentation

pushLogHook :: (LogAction -> LogAction) -> Logger -> Logger #

Push a log hook

Logging stuff

defaultLogActionHPutStrDoc :: LogFlags -> Bool -> Handle -> SDoc -> IO () #

The boolean arguments let's the pretty printer know if it can optimize indent by writing ascii ' ' characters without going through decoding.