Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Compat module for GHC 9.2 Logger infrastructure.
Synopsis
- putLogHook :: Logger -> HscEnv -> HscEnv
- pushLogHook :: (LogAction -> LogAction) -> Logger -> Logger
- type LogActionCompat = DynFlags -> WarnReason -> Severity -> SrcSpan -> PrintUnqualified -> SDoc -> IO ()
- logActionCompat :: LogActionCompat -> LogAction
- defaultLogActionHPutStrDoc :: DynFlags -> Bool -> Handle -> SDoc -> IO ()
Documentation
Logging stuff
type LogActionCompat = DynFlags -> WarnReason -> Severity -> SrcSpan -> PrintUnqualified -> SDoc -> IO () Source #