@@ -8,8 +8,12 @@ module Hakyll.Core.Configuration
10--------------------------------------------------------------------------------
10--------------------------------------------------------------------------------
11−import Data.List (isPrefixOf, isSuffixOf)
11+import Data.List (isPrefixOf, isSuffixOf)
12−import System.FilePath (takeFileName)
12+import System.FilePath (takeFileName)
15+--------------------------------------------------------------------------------
16+import Hakyll.Core.Logger
15--------------------------------------------------------------------------------
19--------------------------------------------------------------------------------
@@ -52,6 +56,8 @@ data Configuration = Configuration
52 , -- | Use an in-memory cache for items. This is faster but uses more
56 , -- | Use an in-memory cache for items. This is faster but uses more
53 -- memory.
57 -- memory.
54 inMemoryCache :: Bool
58 inMemoryCache :: Bool
59+ -- | Verbosity for the logger
60+ , verbosity :: Verbosity
@@ -65,6 +71,7 @@ defaultConfiguration = Configuration
65 , ignoreFile = ignoreFile'
71 , ignoreFile = ignoreFile'
66 , deployCommand = "echo 'No deploy command specified'"
72 , deployCommand = "echo 'No deploy command specified'"
67 , inMemoryCache = True
73 , inMemoryCache = True
74+ , verbosity = Message
70 ignoreFile' path
77 ignoreFile' path