Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data UTCTime :: *
- class Monad m => MonadTime m where
- currentTime :: m UTCTime
- class MonadTime m => MonadLog m where
- logMessage :: UTCTime -> LogLevel -> Text -> Value -> m ()
- localData :: [Pair] -> m a -> m a
- localDomain :: Text -> m a -> m a
- logAttention :: MonadLog m => Text -> Value -> m ()
- logInfo :: MonadLog m => Text -> Value -> m ()
- logTrace :: MonadLog m => Text -> Value -> m ()
- logAttention_ :: MonadLog m => Text -> m ()
- logInfo_ :: MonadLog m => Text -> m ()
- logTrace_ :: MonadLog m => Text -> m ()
Documentation
data UTCTime :: *
This is the simplest representation of UTC. It consists of the day number, and a time offset from midnight. Note that if a day has a leap second added to it, it will have 86401 seconds.
Eq UTCTime | |
Data UTCTime | |
Ord UTCTime | |
NFData UTCTime | |
ToSQL UTCTime | |
FromSQL UTCTime |
|
PQFormat UTCTime | |
FormatTime UTCTime | |
ParseTime UTCTime | |
type PQDest UTCTime = PGtimestamp | |
type PQBase UTCTime = PGtimestamp |
class Monad m => MonadTime m where
Class of monads which carry the notion of the current time.
currentTime :: m UTCTime
class MonadTime m => MonadLog m where Source
Represents the family of monads with logging capabilities.
logAttention :: MonadLog m => Text -> Value -> m () Source
logAttention_ :: MonadLog m => Text -> m () Source