mohws-0.2.1.3: Modular Haskell Web Server

Safe HaskellNone

Network.MoHWS.Logger.Error

Documentation

data Handle Source

Instances

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

class HasHandle h whereSource

Methods

getHandle :: h -> HandleSource

Instances

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