Hoogle Search
Within LTS Haskell 24.48 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
type
LoggerPrinter_WithClosures = Logger -> LoggerLogLevel -> Int8 -> Text -> Ptr () -> IO ()gi-soup3 GI.Soup.Callbacks The prototype for a custom printing callback. level indicates what kind of information is being printed. Eg, it will be LoggerLogLevelHeaders if data is header data. direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline. To get the effect of the default printer, you would do:
c code
printf ("%c %s\n", direction, data);drop_closures_LoggerPrinter :: LoggerPrinter -> LoggerPrinter_WithClosuresgi-soup3 GI.Soup.Callbacks A simple wrapper that ignores the closure arguments.
-
gi-soup3 GI.Soup.Callbacks Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_LoggerPrinter :: MonadIO m => LoggerPrinter -> m (GClosure C_LoggerPrinter)gi-soup3 GI.Soup.Callbacks Wrap the callback into a GClosure.
mk_LoggerPrinter :: C_LoggerPrinter -> IO (FunPtr C_LoggerPrinter)gi-soup3 GI.Soup.Callbacks Generate a function pointer callable from C code, from a C_LoggerPrinter.
noLoggerPrinter :: Maybe LoggerPrintergi-soup3 GI.Soup.Callbacks A convenience synonym for Nothing :: Maybe LoggerPrinter.
noLoggerPrinter_WithClosures :: Maybe LoggerPrinter_WithClosuresgi-soup3 GI.Soup.Callbacks A convenience synonym for Nothing :: Maybe LoggerPrinter_WithClosures.
-
gi-soup3 GI.Soup.Callbacks Wrap a LoggerPrinter into a C_LoggerPrinter.
loggerSetPrinter :: (HasCallStack, MonadIO m, IsLogger a) => a -> LoggerPrinter -> m ()gi-soup3 GI.Soup.Objects.Logger Sets up an alternate log printing routine, if you don't want the log to go to stdout.
project_printing_merge_request_link_enabled :: Project -> Maybe Boolgitlab-haskell GitLab.Types No documentation available.