packages feed

co-log-simple 1.1.0 → 1.1.1

raw patch · 4 files changed

+9/−4 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+1.1.1 (2025-08-12)++  * Fixed incorrect API docs++ 1.1.0 (2025-08-11)    * Exciting new formatter design, deprecated older formatters
co-log-simple.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2  name: co-log-simple-version: 1.1.0+version: 1.1.1 synopsis: Simple enhancements for logging with co-log description: A library built upon co-log that makes constructing and using   `LogAction`s simpler with some predefined formatters and a slightly enhanced
src/lib/Colog/Simple.hs view
@@ -4,7 +4,7 @@  @ import Colog.Monad (usingLoggerT)-import Colog.Simple (Severity (..), colorSevFmt, logger, logNotice, logTextStdout)+import Colog.Simple (Severity (..), (%), logger, logNotice, logTextStdout, msg, sevc)  usingLoggerT (logger (sevc % msg) logTextStdout Debug) $ logNotice "Take note of this!" @
src/lib/Colog/Simple/Message.hs view
@@ -166,11 +166,11 @@ -- | Format with colored severity labels and no color for the message colorSevFmt :: Message -> Text colorSevFmt = sevc % msg-{-# DEPRECATED colorSevFmt "Use (sevc % msgc) instead" #-}+{-# DEPRECATED colorSevFmt "Use (sevc % msg) instead" #-}   -- | Format with colored severity labels, call stack info, and no color for the --   message colorSevStackFmt :: Message -> Text colorSevStackFmt = sevc % stack %+ msg-{-# DEPRECATED colorSevStackFmt "Use (sevc % stack %+ msgc) instead" #-}+{-# DEPRECATED colorSevStackFmt "Use (sevc % stack %+ msg) instead" #-}