mohws-0.2.1.6: Modular Haskell Web Server
Network.MoHWS.Logger.Error
data Handle Source #
Defined in Network.MoHWS.Logger.Error
Methods
getHandle :: Handle -> Handle Source #
start :: FilePath -> T -> IO Handle Source #
stop :: Handle -> IO () Source #
log :: Handle -> T -> String -> IO () Source #
class HasHandle h where Source #
Minimal complete definition
getHandle
getHandle :: h -> Handle Source #
Defined in Network.MoHWS.Server.Context
getHandle :: T ext -> Handle Source #
debug :: (HasHandle h, MonadIO io) => h -> String -> io () Source #
abort :: HasHandle h => h -> String -> MaybeT IO a Source #
debugOnAbort :: HasHandle h => h -> String -> MaybeT IO a -> MaybeT IO a Source #
logError :: HasHandle h => h -> String -> IO () Source #
logInfo :: HasHandle h => h -> String -> IO () Source #
logDebug :: HasHandle h => h -> String -> IO () Source #