habit-0.2.2.0: Haskell message bot framework

CopyrightAlexander Krupenkin 2017
LicenseBSD3
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Web.Bot.Log

Description

Logging utils.

Synopsis

Documentation

logDebug :: Q Exp #

Generates a function that takes a Text and logs a LevelDebug message. Usage:

$(logDebug) "This is a debug log message"

logDebugS :: Q Exp #

Generates a function that takes a LogSource and Text and logs a LevelDebug message. Usage:

$logDebugS "SomeSource" "This is a debug log message"