elynx-tools-0.0.1: Tools for ELynx

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Tools.Logger

Description

Creation date: Fri Sep 6 14:43:19 2019.

Synopsis

Documentation

logNewSection :: MonadLogger m => Text -> m () Source #

Unified way of creating a new section in the log.

eLynxWrapper :: (MonadBaseControl IO m, MonadIO m) => LogLevel -> Maybe FilePath -> String -> LoggingT m () -> m () Source #

The LoggingT wrapper for ELynx. Prints a header and a footer, logs to stderr if no file is provided. If a log file is provided, log to the file and to stderr.