mohws-0.2.1.6: Modular Haskell Web Server

Safe HaskellNone
LanguageHaskell98

Network.MoHWS.Logger.Error

Documentation

data Handle Source #

Instances
HasHandle Handle Source # 
Instance details

Defined in Network.MoHWS.Logger.Error

stop :: Handle -> IO () Source #

log :: Handle -> T -> String -> IO () Source #

class HasHandle h where Source #

Minimal complete definition

getHandle

Methods

getHandle :: h -> Handle Source #

Instances
HasHandle Handle Source # 
Instance details

Defined in Network.MoHWS.Logger.Error

HasHandle (T ext) Source # 
Instance details

Defined in Network.MoHWS.Server.Context

Methods

getHandle :: T ext -> Handle Source #

debug :: (HasHandle h, MonadIO io) => h -> String -> io () Source #

abort :: HasHandle h => h -> String -> 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 #