Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setProtocolEntry :: Bool -> IO ()network-bsd Network.BSD setprotoent(3).
setServiceEntry :: Bool -> IO ()network-bsd Network.BSD setservent(3).
setLogAccentColors :: (Int -> Utf8Builder) -> LogOptions -> LogOptionsrio RIO ANSI color codes for accents in the log output. Accent colors are indexed by Int. Default: const "\ESC[92m" -- Bright green, for all indicies
setLogFormat :: (Utf8Builder -> Utf8Builder) -> LogOptions -> LogOptionsrio RIO Set format method for messages Default: id
setLogLevelColors :: (LogLevel -> Utf8Builder) -> LogOptions -> LogOptionsrio RIO ANSI color codes for LogLevel in the log output. Default: LevelDebug = "\ESC[32m" -- Green LevelInfo = "\ESC[34m" -- Blue LevelWarn = "\ESC[33m" -- Yellow LevelError = "\ESC[31m" -- Red LevelOther _ = "\ESC[35m" -- Magenta
setLogMinLevel :: LogLevel -> LogOptions -> LogOptionsrio RIO Set the minimum log level. Messages below this level will not be printed. Default: in verbose mode, LevelDebug. Otherwise, LevelInfo.
setLogMinLevelIO :: IO LogLevel -> LogOptions -> LogOptionsrio RIO Refer to setLogMinLevel. This modifier allows to alter the verbose format value dynamically at runtime. Default: in verbose mode, LevelDebug. Otherwise, LevelInfo.
setLogSecondaryColor :: Utf8Builder -> LogOptions -> LogOptionsrio RIO ANSI color codes for secondary content in the log output. Default: "\ESC[90m" -- Bright black (gray)
setLogTerminal :: Bool -> LogOptions -> LogOptionsrio RIO Do we treat output as a terminal. If True, we will enable sticky logging functionality. Default: checks if the Handle provided to logOptionsHandle is a terminal with hIsTerminalDevice.
setLogUseColor :: Bool -> LogOptions -> LogOptionsrio RIO Use ANSI color codes in the log output. Default: True if in verbose mode and the Handle is a terminal device.