yesod-core 1.1.8 → 1.1.8.1
raw patch · 3 files changed
+13/−3 lines, 3 filesdep ~conduitdep ~monad-logger
Dependency ranges changed: conduit, monad-logger
Files
- Yesod/Handler.hs +6/−0
- Yesod/Widget.hs +4/−0
- yesod-core.cabal +3/−3
Yesod/Handler.hs view
@@ -1056,10 +1056,16 @@ #endif instance MonadLogger (GHandler sub master) where+#if MIN_VERSION_monad_logger(0, 3, 0)+ monadLoggerLog a b c d = do+ hd <- ask+ liftIO $ handlerLog hd a b c (toLogStr d)+#else monadLoggerLog a c d = monadLoggerLogSource a "" c d monadLoggerLogSource a b c d = do hd <- ask liftIO $ handlerLog hd a b c (toLogStr d)+#endif instance Exception e => Failure e (GHandler sub master) where failure = liftIO . throwIO
Yesod/Widget.hs view
@@ -361,5 +361,9 @@ #endif instance MonadLogger (GWidget sub master) where+#if MIN_VERSION_monad_logger(0, 3, 0)+ monadLoggerLog a b c = lift . monadLoggerLog a b c+#else monadLoggerLog a b = lift . monadLoggerLog a b monadLoggerLogSource a b c = lift . monadLoggerLogSource a b c+#endif
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.1.8+version: 1.1.8.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -79,8 +79,8 @@ , vector >= 0.9 && < 0.11 , aeson >= 0.5 , fast-logger >= 0.2- , monad-logger >= 0.2.1 && < 0.3- , conduit >= 0.5 && < 0.6+ , monad-logger >= 0.2.1 && < 0.4+ , conduit >= 0.5 , resourcet >= 0.3 && < 0.5 , lifted-base >= 0.1 , blaze-html >= 0.5 && < 0.6