log 0.7 → 0.8
raw patch · 4 files changed
+17/−5 lines, 4 filesdep ~log-basedep ~log-elasticsearchdep ~log-postgres
Dependency ranges changed: log-base, log-elasticsearch, log-postgres
Files
- log.cabal +4/−2
- src/Log/Backend/ElasticSearch/Internal.hs +5/−0
- src/Log/Backend/ElasticSearch/Lens.hs +5/−0
- test/Test/ElasticSearch.hs +3/−3
log.cabal view
@@ -1,5 +1,5 @@ name: log-version: 0.7+version: 0.8 synopsis: Structured logging solution with multiple backends description: A library that provides a way to record structured@@ -34,6 +34,8 @@ library exposed-modules: Log, Log.Backend.ElasticSearch,+ Log.Backend.ElasticSearch.Internal,+ Log.Backend.ElasticSearch.Lens, Log.Backend.PostgreSQL, Log.Backend.StandardOutput, Log.Backend.StandardOutput.Bulk,@@ -46,7 +48,7 @@ build-depends: base <5, log-base >= 0.7,- log-elasticsearch >= 0.7,+ log-elasticsearch >= 0.8, log-postgres >= 0.7 hs-source-dirs: src
+ src/Log/Backend/ElasticSearch/Internal.hs view
@@ -0,0 +1,5 @@+module Log.Backend.ElasticSearch.Internal (+ module Log.Backend.ElasticSearch.Internal+ ) where++import "log-elasticsearch" Log.Backend.ElasticSearch.Internal
+ src/Log/Backend/ElasticSearch/Lens.hs view
@@ -0,0 +1,5 @@+module Log.Backend.ElasticSearch.Lens (+ module Log.Backend.ElasticSearch.Lens+ ) where++import "log-elasticsearch" Log.Backend.ElasticSearch.Lens
test/Test/ElasticSearch.hs view
@@ -25,11 +25,11 @@ defaultElasticSearchTestConfig :: ElasticSearchConfig -> IO ElasticSearchTestConfig-defaultElasticSearchTestConfig ElasticSearchConfig{..} = do+defaultElasticSearchTestConfig esc = do now <- getCurrentTime- let testServer = Server esServer+ let testServer = Server (esServer esc) testIndex = IndexName $ T.concat- [ esIndex+ [ esIndex esc , "-" , T.pack $ formatTime defaultTimeLocale "%F" now ]