From 5e1249481b2e3fc27e845245a0c96c3687a23c3d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 10 Feb 2017 20:59:54 +0100 Subject: Added Text.Pandoc.Logging (exported module). This now contains the Verbosity definition previously in Options, as well as a new LogMessage datatype that will eventually be used instead of raw strings for warnings. This will enable us, among other things, to provide machine-readable warnings if desired. See #3392. --- src/Text/Pandoc/Class.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Text/Pandoc/Class.hs') diff --git a/src/Text/Pandoc/Class.hs b/src/Text/Pandoc/Class.hs index df831c8b2..b1958510c 100644 --- a/src/Text/Pandoc/Class.hs +++ b/src/Text/Pandoc/Class.hs @@ -72,8 +72,8 @@ import qualified Text.Pandoc.Shared as IO ( readDataFile , openURL ) import qualified Text.Pandoc.UTF8 as UTF8 import Text.Pandoc.Compat.Time (UTCTime) -import Text.Pandoc.Options (Verbosity(..)) -import Text.Parsec (ParsecT, SourcePos, getPosition) +import Text.Pandoc.Logging +import Text.Parsec (ParsecT, SourcePos) import qualified Text.Pandoc.Compat.Time as IO (getCurrentTime) import Text.Pandoc.MIME (MimeType, getMimeType) import Data.Time.Clock.POSIX ( utcTimeToPOSIXSeconds -- cgit v1.2.3