mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
server: use metadata DB ID as ProjectID for EE lite projects
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5874 GitOrigin-RevId: 63a4016227eeeceb0143cf84ed4c13b14f424d4b
This commit is contained in:
parent
8bc3b27bb1
commit
1d9844ee4e
@ -293,7 +293,7 @@ cleanLoggerCtx =
|
||||
-- See Note [Existentially Quantified Types]
|
||||
newtype Logger impl = Logger {unLogger :: forall a m. (ToEngineLog a impl, MonadIO m) => a -> m ()}
|
||||
|
||||
mkLogger :: LoggerCtx Hasura -> Logger Hasura
|
||||
mkLogger :: (J.ToJSON (EngineLogType impl)) => LoggerCtx impl -> Logger impl
|
||||
mkLogger (LoggerCtx loggerSet serverLogLevel timeGetter enabledLogTypes) = Logger $ \l -> do
|
||||
localTime <- liftIO timeGetter
|
||||
let (logLevel, logTy, logDet) = toEngineLog l
|
||||
|
Loading…
Reference in New Issue
Block a user