« Previous | Next » 

Revision 015278eb

Parent 78e0f701
Child 32be18fc

Added by Petr Pudlak about 7 years ago

Add logging functions lifted into MonadBase

Calling logging functions in a monad transformer stack requires
instances for all the transformers.
This patch adds a module with functions named just as in Ganeti.Logging,
but lifted into MonadBase. This allows using them in any transformer
stack which has MonadBase instance and whose base monad is MonadLog.
This condition is satisfied for all IO-based stacks.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences