katip 0.8.0.0 → 0.8.1.0
raw patch · 3 files changed
+6/−1 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
+ Katip: logLoc :: (Applicative m, LogItem a, Katip m, HasCallStack) => a -> Namespace -> Severity -> LogStr -> m ()
- Katip: itemApp :: forall a_aeLw. Lens' (Item a_aeLw) Namespace
+ Katip: itemApp :: forall a_aeH9. Lens' (Item a_aeH9) Namespace
- Katip: itemEnv :: forall a_aeLw. Lens' (Item a_aeLw) Environment
+ Katip: itemEnv :: forall a_aeH9. Lens' (Item a_aeH9) Environment
- Katip: itemHost :: forall a_aeLw. Lens' (Item a_aeLw) HostName
+ Katip: itemHost :: forall a_aeH9. Lens' (Item a_aeH9) HostName
- Katip: itemLoc :: forall a_aeLw. Lens' (Item a_aeLw) (Maybe Loc)
+ Katip: itemLoc :: forall a_aeH9. Lens' (Item a_aeH9) (Maybe Loc)
- Katip: itemMessage :: forall a_aeLw. Lens' (Item a_aeLw) LogStr
+ Katip: itemMessage :: forall a_aeH9. Lens' (Item a_aeH9) LogStr
- Katip: itemNamespace :: forall a_aeLw. Lens' (Item a_aeLw) Namespace
+ Katip: itemNamespace :: forall a_aeH9. Lens' (Item a_aeH9) Namespace
- Katip: itemPayload :: forall a_aeLw a_al9l. Lens (Item a_aeLw) (Item a_al9l) a_aeLw a_al9l
+ Katip: itemPayload :: forall a_aeH9 a_al3b. Lens (Item a_aeH9) (Item a_al3b) a_aeH9 a_al3b
- Katip: itemProcess :: forall a_aeLw. Lens' (Item a_aeLw) ProcessID
+ Katip: itemProcess :: forall a_aeH9. Lens' (Item a_aeH9) ProcessID
- Katip: itemSeverity :: forall a_aeLw. Lens' (Item a_aeLw) Severity
+ Katip: itemSeverity :: forall a_aeH9. Lens' (Item a_aeH9) Severity
- Katip: itemThread :: forall a_aeLw. Lens' (Item a_aeLw) ThreadIdText
+ Katip: itemThread :: forall a_aeH9. Lens' (Item a_aeH9) ThreadIdText
- Katip: itemTime :: forall a_aeLw. Lens' (Item a_aeLw) UTCTime
+ Katip: itemTime :: forall a_aeH9. Lens' (Item a_aeH9) UTCTime
- Katip.Core: itemApp :: forall a_aeLw. Lens' (Item a_aeLw) Namespace
+ Katip.Core: itemApp :: forall a_aeH9. Lens' (Item a_aeH9) Namespace
- Katip.Core: itemEnv :: forall a_aeLw. Lens' (Item a_aeLw) Environment
+ Katip.Core: itemEnv :: forall a_aeH9. Lens' (Item a_aeH9) Environment
- Katip.Core: itemHost :: forall a_aeLw. Lens' (Item a_aeLw) HostName
+ Katip.Core: itemHost :: forall a_aeH9. Lens' (Item a_aeH9) HostName
- Katip.Core: itemLoc :: forall a_aeLw. Lens' (Item a_aeLw) (Maybe Loc)
+ Katip.Core: itemLoc :: forall a_aeH9. Lens' (Item a_aeH9) (Maybe Loc)
- Katip.Core: itemMessage :: forall a_aeLw. Lens' (Item a_aeLw) LogStr
+ Katip.Core: itemMessage :: forall a_aeH9. Lens' (Item a_aeH9) LogStr
- Katip.Core: itemNamespace :: forall a_aeLw. Lens' (Item a_aeLw) Namespace
+ Katip.Core: itemNamespace :: forall a_aeH9. Lens' (Item a_aeH9) Namespace
- Katip.Core: itemPayload :: forall a_aeLw a_al9l. Lens (Item a_aeLw) (Item a_al9l) a_aeLw a_al9l
+ Katip.Core: itemPayload :: forall a_aeH9 a_al3b. Lens (Item a_aeH9) (Item a_al3b) a_aeH9 a_al3b
- Katip.Core: itemProcess :: forall a_aeLw. Lens' (Item a_aeLw) ProcessID
+ Katip.Core: itemProcess :: forall a_aeH9. Lens' (Item a_aeH9) ProcessID
- Katip.Core: itemSeverity :: forall a_aeLw. Lens' (Item a_aeLw) Severity
+ Katip.Core: itemSeverity :: forall a_aeH9. Lens' (Item a_aeH9) Severity
- Katip.Core: itemThread :: forall a_aeLw. Lens' (Item a_aeLw) ThreadIdText
+ Katip.Core: itemThread :: forall a_aeH9. Lens' (Item a_aeH9) ThreadIdText
- Katip.Core: itemTime :: forall a_aeLw. Lens' (Item a_aeLw) UTCTime
+ Katip.Core: itemTime :: forall a_aeH9. Lens' (Item a_aeH9) UTCTime
Files
- changelog.md +4/−0
- katip.cabal +1/−1
- src/Katip.hs +1/−0
changelog.md view
@@ -1,3 +1,7 @@+0.8.1.0+=======+* Export `logLoc`. Credit to [Brian McKenna](https://github.com/puffnfresh)+ 0.8.0.0 ======= * **Breaking change**: switch from severity based log level filtering to
katip.cabal view
@@ -1,5 +1,5 @@ name: katip-version: 0.8.0.0+version: 0.8.1.0 synopsis: A structured logging framework. description: Katip is a structured logging framework. See README.md for more details.
src/Katip.hs view
@@ -159,6 +159,7 @@ , logF , logMsg , logT+ , logLoc , logItem , logException -- ** 'KatipContext': Logging With Context