/usr/share/doc/libghc-wai-logger-prefork-doc/html/wai-logger-prefork.txt is in libghc-wai-logger-prefork-doc 0.3.0-2build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | -- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A logging system for preforked WAI apps
--
-- A logging system for preforked WAI apps
@package wai-logger-prefork
@version 0.3.0
module Network.Wai.Logger.Prefork
-- | Checking if a log file can be written if <a>LogType</a> is
-- <a>LogFile</a>.
logCheck :: LogType -> IO ()
-- | Creating <a>ApacheLogger</a> according to <a>LogType</a>.
logInit :: IPAddrSource -> LogType -> IO (ApacheLogger, LogFlusher)
-- | Creating a log controller against child processes.
logController :: LogType -> LogController
type LogController = [ProcessID] -> IO ()
data LogType
LogNone :: LogType
LogStdout :: LogType
-- | <a>Signal</a> is used to tell child processes to reopen a log file.
LogFile :: FileLogSpec -> Signal -> LogType
-- | The spec for logging files
data FileLogSpec :: *
FileLogSpec :: String -> Integer -> Int -> FileLogSpec
log_file :: FileLogSpec -> String
log_file_size :: FileLogSpec -> Integer
log_backup_number :: FileLogSpec -> Int
type LogFlusher = IO ()
|