gore-and-ash-logging

Core module for gore-and-ash with logging utilities https://github.com/Teaspot-Studio/gore-and-ash-logging

Latest on Hackage:2.0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Anton Gushcha
Maintained by ncrashed@gmail.com

gore-and-ash-logging

The module provides facilities for console logging for Gore&Ash engine.

Installing

Add following to your stack.yml to packages section:

- location:
    git: https://github.com/Teaspot-Studio/gore-and-ash-logging.git
    commit: <PLACE HERE FULL HASH OF LAST COMMIT> 

When defining you application stack, add LoggingT:

type AppStack = ModuleStack [LoggingT, ... other modules ... ] IO

And derive LoggingMonad for your resulting AppMonad:

newtype AppMonad a = AppMonad (AppStack a)
  deriving (Functor, Applicative, Monad, MonadFix, MonadIO, LoggingMonad)

Changes

2.0.1.0

  • Added changelog and extra source files to cabal.
comments powered byDisqus