Ui.UiLog
Contents
Description
A wrapper around Ui.StateT that provides logging.
Ui.StateT
type UiLogT m = Ui.StateT (Log.LogT m) Source #
type UiLog = UiLogT Identity Source #
run :: Monad m => Ui.State -> UiLogT m a -> m (Either Ui.Error (a, Ui.State, Update.UiDamage), [Log.Msg]) Source #
run_id :: Ui.State -> UiLog a -> (Either Ui.Error (a, Ui.State, Update.UiDamage), [Log.Msg]) Source #
exec_id :: Ui.State -> UiLog a -> (Either Ui.Error (Ui.State, Update.UiDamage), [Log.Msg]) Source #
Methods
write :: Log.Msg -> UiLogT m () Source #