heavy-logger-amazon-0.1.0.0: heavy-logger compatibility with amazonka-core logging

Safe HaskellNone
LanguageHaskell2010

System.Log.Heavy.AWS

Description

This module provides functions to integrate amazonka logging with heavy-logging package.

Synopsis

Documentation

awsLogLevelToLevel :: LogLevel -> Level Source #

Translate Amazonka's LogLevel to heavy-logger's Level.

toAwsLogger :: SpecializedLogger -> Logger Source #

Convert heavy-logger's SpecializedLogger to Amaoznka's Logger.

getAwsLogger :: (Monad m, HasLogger m) => m Logger Source #

Obtain Amazonka's Logger in a monad that has heavy-logger's Logger.