mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-08 20:36:10 +00:00
[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user