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