sutori-0.2.4: Sutori language compiler

Safe HaskellSafe
LanguageHaskell2010

Sutori.Logger.Writer

Description

Provides a common framework (class) to showSut sutori componentselementsconstructs. Right now, error codes are defined here.

Synopsis

Documentation

data SutLogger Source #

Sutori logger, where we register logs for reasons, via a WriterT

Constructors

SutLogger [SutLog] [SutLog] [(SutError, SutLog)] 

Instances

Show SutLogger Source #

The way we print the logs is to print info logs, then error logs.

Monoid SutLogger Source #

SutLogger must be a Monoid to be used with WriterT