mohws-0.2.1: Modular Haskell Web Server
Network.MoHWS.Logger.Error
data Handle Source
Instances
start :: FilePath -> T -> IO HandleSource
stop :: Handle -> IO ()Source
log :: Handle -> T -> String -> IO ()Source
class HasHandle h whereSource
Methods
getHandle :: h -> HandleSource
debug :: (HasHandle h, MonadIO io) => h -> String -> io ()Source
abort :: HasHandle h => h -> String -> MaybeT IO aSource
debugOnAbort :: HasHandle h => h -> String -> MaybeT IO a -> MaybeT IO aSource
logError :: HasHandle h => h -> String -> IO ()Source
logInfo :: HasHandle h => h -> String -> IO ()Source
logDebug :: HasHandle h => h -> String -> IO ()Source