Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- withLoggingBitMEXWrapper :: LogContext -> BitMEXWrapperConfig -> BitMEXWrapperConfig
- withLoggingBitMEXConfig :: LogContext -> BitMEXConfig -> BitMEXConfig
- runConfigLog :: MonadIO m => BitMEXWrapperConfig -> LogExec m
- runConfigLogWithExceptions :: (MonadCatch m, MonadIO m) => Text -> BitMEXWrapperConfig -> LogExec m
Documentation
withLoggingBitMEXWrapper :: LogContext -> BitMEXWrapperConfig -> BitMEXWrapperConfig Source #
Add a logging environment and an executor to a BitMEXWrapperConfig.
withLoggingBitMEXConfig :: LogContext -> BitMEXConfig -> BitMEXConfig Source #
Add a logging environment and an executor to a BitMEXConfig.
runConfigLog :: MonadIO m => BitMEXWrapperConfig -> LogExec m Source #
Run the BitMEXWrapperConfig's executor on the config's log environment.
runConfigLogWithExceptions :: (MonadCatch m, MonadIO m) => Text -> BitMEXWrapperConfig -> LogExec m Source #
Run the BitMEXWrapperConfig's executor on the config's log environment with exceptions.