haskell-bitmex-client-0.1.0.1: Complete BitMEX Client

Safe HaskellNone
LanguageHaskell2010

BitMEXClient.Wrapper.Logging

Synopsis

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.