katip 0.6.0.0 → 0.6.1.0
raw patch · 3 files changed
+9/−4 lines, 3 filesdep ~containersdep ~stmdep ~template-haskellPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: containers, stm, template-haskell
API changes (from Hackage documentation)
- Katip.Core: instance Data.Semigroup.Semigroup Katip.Core.LogStr
- Katip.Core: instance Data.Semigroup.Semigroup Katip.Core.Namespace
- Katip.Core: instance Data.Semigroup.Semigroup Katip.Core.PayloadSelection
- Katip.Core: instance Data.Semigroup.Semigroup Katip.Core.Scribe
- Katip.Core: instance Data.Semigroup.Semigroup Katip.Core.SimpleLogPayload
- Katip.Monadic: instance Data.Semigroup.Semigroup Katip.Monadic.LogContexts
+ Katip.Core: instance GHC.Base.Semigroup Katip.Core.LogStr
+ Katip.Core: instance GHC.Base.Semigroup Katip.Core.Namespace
+ Katip.Core: instance GHC.Base.Semigroup Katip.Core.PayloadSelection
+ Katip.Core: instance GHC.Base.Semigroup Katip.Core.Scribe
+ Katip.Core: instance GHC.Base.Semigroup Katip.Core.SimpleLogPayload
+ Katip.Monadic: instance GHC.Base.Semigroup Katip.Monadic.LogContexts
- Katip: Scribe :: (forall a. LogItem a => Item a -> IO ()) -> IO () -> Scribe
+ Katip: Scribe :: forall a. LogItem a => Item a -> IO () -> IO () -> Scribe
- Katip: itemApp :: forall a_afg5. Lens' (Item a_afg5) Namespace
+ Katip: itemApp :: forall a_ae53. Lens' (Item a_ae53) Namespace
- Katip: itemEnv :: forall a_afg5. Lens' (Item a_afg5) Environment
+ Katip: itemEnv :: forall a_ae53. Lens' (Item a_ae53) Environment
- Katip: itemHost :: forall a_afg5. Lens' (Item a_afg5) HostName
+ Katip: itemHost :: forall a_ae53. Lens' (Item a_ae53) HostName
- Katip: itemLoc :: forall a_afg5. Lens' (Item a_afg5) (Maybe Loc)
+ Katip: itemLoc :: forall a_ae53. Lens' (Item a_ae53) (Maybe Loc)
- Katip: itemMessage :: forall a_afg5. Lens' (Item a_afg5) LogStr
+ Katip: itemMessage :: forall a_ae53. Lens' (Item a_ae53) LogStr
- Katip: itemNamespace :: forall a_afg5. Lens' (Item a_afg5) Namespace
+ Katip: itemNamespace :: forall a_ae53. Lens' (Item a_ae53) Namespace
- Katip: itemPayload :: forall a_afg5 a_aluK. Lens (Item a_afg5) (Item a_aluK) a_afg5 a_aluK
+ Katip: itemPayload :: forall a_ae53 a_ak79. Lens (Item a_ae53) (Item a_ak79) a_ae53 a_ak79
- Katip: itemProcess :: forall a_afg5. Lens' (Item a_afg5) ProcessID
+ Katip: itemProcess :: forall a_ae53. Lens' (Item a_ae53) ProcessID
- Katip: itemSeverity :: forall a_afg5. Lens' (Item a_afg5) Severity
+ Katip: itemSeverity :: forall a_ae53. Lens' (Item a_ae53) Severity
- Katip: itemThread :: forall a_afg5. Lens' (Item a_afg5) ThreadIdText
+ Katip: itemThread :: forall a_ae53. Lens' (Item a_ae53) ThreadIdText
- Katip: itemTime :: forall a_afg5. Lens' (Item a_afg5) UTCTime
+ Katip: itemTime :: forall a_ae53. Lens' (Item a_ae53) UTCTime
- Katip.Core: Scribe :: (forall a. LogItem a => Item a -> IO ()) -> IO () -> Scribe
+ Katip.Core: Scribe :: forall a. LogItem a => Item a -> IO () -> IO () -> Scribe
- Katip.Core: itemApp :: forall a_afg5. Lens' (Item a_afg5) Namespace
+ Katip.Core: itemApp :: forall a_ae53. Lens' (Item a_ae53) Namespace
- Katip.Core: itemEnv :: forall a_afg5. Lens' (Item a_afg5) Environment
+ Katip.Core: itemEnv :: forall a_ae53. Lens' (Item a_ae53) Environment
- Katip.Core: itemHost :: forall a_afg5. Lens' (Item a_afg5) HostName
+ Katip.Core: itemHost :: forall a_ae53. Lens' (Item a_ae53) HostName
- Katip.Core: itemLoc :: forall a_afg5. Lens' (Item a_afg5) (Maybe Loc)
+ Katip.Core: itemLoc :: forall a_ae53. Lens' (Item a_ae53) (Maybe Loc)
- Katip.Core: itemMessage :: forall a_afg5. Lens' (Item a_afg5) LogStr
+ Katip.Core: itemMessage :: forall a_ae53. Lens' (Item a_ae53) LogStr
- Katip.Core: itemNamespace :: forall a_afg5. Lens' (Item a_afg5) Namespace
+ Katip.Core: itemNamespace :: forall a_ae53. Lens' (Item a_ae53) Namespace
- Katip.Core: itemPayload :: forall a_afg5 a_aluK. Lens (Item a_afg5) (Item a_aluK) a_afg5 a_aluK
+ Katip.Core: itemPayload :: forall a_ae53 a_ak79. Lens (Item a_ae53) (Item a_ak79) a_ae53 a_ak79
- Katip.Core: itemProcess :: forall a_afg5. Lens' (Item a_afg5) ProcessID
+ Katip.Core: itemProcess :: forall a_ae53. Lens' (Item a_ae53) ProcessID
- Katip.Core: itemSeverity :: forall a_afg5. Lens' (Item a_afg5) Severity
+ Katip.Core: itemSeverity :: forall a_ae53. Lens' (Item a_ae53) Severity
- Katip.Core: itemThread :: forall a_afg5. Lens' (Item a_afg5) ThreadIdText
+ Katip.Core: itemThread :: forall a_ae53. Lens' (Item a_ae53) ThreadIdText
- Katip.Core: itemTime :: forall a_afg5. Lens' (Item a_afg5) UTCTime
+ Katip.Core: itemTime :: forall a_ae53. Lens' (Item a_ae53) UTCTime
Files
- changelog.md +5/−0
- katip.cabal +3/−3
- src/Katip/Core.hs +1/−1
changelog.md view
@@ -1,3 +1,8 @@+0.6.1.0+=======+* Loosen deps+* Support latest STM+ 0.6.0.0 ======= * Drop ListT instance due to deprecations.
katip.cabal view
@@ -1,5 +1,5 @@ name: katip-version: 0.6.0.0+version: 0.6.1.0 synopsis: A structured logging framework. description: Katip is a structured logging framework. See README.md for more details.@@ -58,13 +58,13 @@ , async < 3.0.0.0 , auto-update >= 0.1 && < 0.2 , bytestring >= 0.9 && < 0.11- , containers >=0.4 && <0.6+ , containers >=0.4 && <0.7 , either >= 4 && < 5.1 , safe-exceptions >= 0.1.0.0 , hostname >=1.0 && <1.1 , old-locale >= 1.0 && < 1.1 , string-conv >= 0.1 && < 0.2- , template-haskell >= 2.8 && < 2.14+ , template-haskell >= 2.8 && < 2.15 , text >= 0.11 && <1.3 , time >= 1 && < 1.9 , transformers >= 0.3 && < 0.6
src/Katip/Core.hs view
@@ -631,7 +631,7 @@ -> LogEnv -> IO LogEnv registerScribe nm scribe ScribeSettings {..} le = do- queue <- atomically (BQ.newTBQueue _scribeBufferSize)+ queue <- atomically (BQ.newTBQueue (fromIntegral _scribeBufferSize)) worker <- spawnScribeWorker scribe queue let fin = do atomically (BQ.writeTBQueue queue PoisonPill)