heavy-logger-instances-0.2.0.0: Orphan instances for data types in heavy-logger package

Safe HaskellNone
LanguageHaskell2010

System.Log.Heavy.Instances.Binary

Contents

Description

This module contains instances of Binary type class for data types defined in the heavy-logger package.

Synopsis

Documentation

putVariableNoformat :: Variable -> Put Source #

Serialize Variable with default format

getVariableNoformat :: Get Variable Source #

Deserialize Variable with default format

Orphan instances

Binary LogMessage Source #

Please note: this implementation is limited:

  • It stores Variables as their Text representation
  • It does not take care of correct storing/restoring variable formats
  • When deserializing, it always uses [(Text, Text)] as variables container.
Binary LogContextFrame Source # 
Binary LogContextFilter Source # 
Binary Level Source # 

Methods

put :: Level -> Put #

get :: Get Level #

putList :: [Level] -> Put #

Binary Priority Source # 

Methods

put :: Priority -> Put #

get :: Get Priority #

putList :: [Priority] -> Put #

Binary Loc Source # 

Methods

put :: Loc -> Put #

get :: Get Loc #

putList :: [Loc] -> Put #