[haskell-http-client] use katip logger, default strict (#6478)

* change strictFields cli option default to True;

* use katip logging; add cli-option for monad-logger

* fix date parsing

* remove package.yaml
This commit is contained in:
Jon Schoning
2017-09-18 12:24:38 -05:00
committed by wing328
parent 5f566255ac
commit d928617b69
62 changed files with 1315 additions and 1259 deletions

View File

@@ -29,7 +29,6 @@ dependencies:
- text >=0.11 && <1.3
- time >=1.5 && <1.9
- vector >=0.10.9 && <0.13
- monad-logger >=0.3 && <0.4
- exceptions >= 0.4
- case-insensitive
- safe-exceptions <0.2

View File

@@ -40,7 +40,6 @@ test-suite tests
, text >=0.11 && <1.3
, time >=1.5 && <1.9
, vector >=0.10.9 && <0.13
, monad-logger >=0.3 && <0.4
, exceptions >= 0.4
, case-insensitive
, safe-exceptions <0.2

View File

@@ -53,10 +53,8 @@ main = do
Just h -> BCL.pack h
_ -> "http://0.0.0.0/v2"
let config =
S.withStdoutLogging
S.newConfig { S.configHost = host }
-- , S.configLoggingFilter = S.debugLevelFilter }
config0 <- S.withStdoutLogging =<< S.newConfig
let config = config0 { S.configHost = host }
putStrLn "\n******** CONFIG ********"
putStrLn (show config)