mohws-0.2.1.8: Modular Haskell Web Server
Safe HaskellNone
LanguageHaskell98

Network.MoHWS.Logger.Error

Documentation

data Handle Source #

Instances

Instances details
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 #

Methods

getHandle :: h -> Handle Source #

Instances

Instances details
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 #