log 0.5.2 → 0.5.3
raw patch · 4 files changed
+5/−5 lines, 4 filesdep ~aeson-prettynew-uploader
Dependency ranges changed: aeson-pretty
Files
- LICENSE +1/−1
- log.cabal +2/−2
- src/Log/Backend/ElasticSearch.hs +1/−1
- src/Log/Data.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2015, Scrive+Copyright (c) 2015, Scrive AB All rights reserved.
log.cabal view
@@ -1,5 +1,5 @@ name: log-version: 0.5.2+version: 0.5.3 synopsis: Structured logging solution with multiple backends description: A library that provides a way to record structured log messages with multiple backends.@@ -38,7 +38,7 @@ build-depends: base <5, aeson >=0.6.2.0,- aeson-pretty >=0.7,+ aeson-pretty >=0.8, base64-bytestring, bloodhound, bytestring,
src/Log/Backend/ElasticSearch.hs view
@@ -135,7 +135,7 @@ runBH_ = withBH defaultManagerSettings server jsonToBSL :: Value -> BSL.ByteString- jsonToBSL = encodePretty' defConfig { confIndent = 2 }+ jsonToBSL = encodePretty' defConfig { confIndent = Spaces 2 } toJsonMsg :: UTCTime -> (Word32, LogMessage) -> (Word32, H.HashMap T.Text Value) toJsonMsg now (n, msg) = (n, H.union jMsg $ H.fromList [
src/Log/Data.hs view
@@ -67,7 +67,7 @@ where textifyData :: Value -> T.Text textifyData = T.decodeUtf8 . toStrict . encodePretty' defConfig {- confIndent = 2+ confIndent = Spaces 2 } instance ToJSON LogMessage where