@@ -8,8 +8,12 @@ module Hakyll.Core.Configuration
88
99
1010--------------------------------------------------------------------------------
11−import Data.List (isPrefixOf, isSuffixOf)
12−import System.FilePath (takeFileName)
11+import Data.List (isPrefixOf, isSuffixOf)
12+import System.FilePath (takeFileName)
13+
14+
15+--------------------------------------------------------------------------------
16+import Hakyll.Core.Logger
1317
1418
1519--------------------------------------------------------------------------------
@@ -52,6 +56,8 @@ data Configuration = Configuration
5256 , -- | Use an in-memory cache for items. This is faster but uses more
5357 -- memory.
5458 inMemoryCache :: Bool
59+ -- | Verbosity for the logger
60+ , verbosity :: Verbosity
5561 }
5662
5763
@@ -65,6 +71,7 @@ defaultConfiguration = Configuration
6571 , ignoreFile = ignoreFile'
6672 , deployCommand = "echo 'No deploy command specified'"
6773 , inMemoryCache = True
74+ , verbosity = Message
6875 }
6976 where
7077 ignoreFile' path