summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Logger.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Core/Logger.hs')
-rw-r--r--src/Hakyll/Core/Logger.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hakyll/Core/Logger.hs b/src/Hakyll/Core/Logger.hs
index 17bff32..4731c20 100644
--- a/src/Hakyll/Core/Logger.hs
+++ b/src/Hakyll/Core/Logger.hs
@@ -42,10 +42,10 @@ data Logger = Logger
--------------------------------------------------------------------------------
-- | Create a new logger
-new :: Verbosity -> (String -> IO ()) -> IO Logger
-new vbty sink = do
+new :: Verbosity -> IO Logger
+new vbty = do
logger <- Logger <$>
- newChan <*> newEmptyMVar <*> pure sink <*> pure vbty
+ newChan <*> newEmptyMVar <*> pure putStrLn <*> pure vbty
_ <- forkIO $ loggerThread logger
return logger
where