aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Class.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-10 20:59:54 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-10 20:59:54 +0100
commit5e1249481b2e3fc27e845245a0c96c3687a23c3d (patch)
treeae8518c276aa6860755f6c2118e02d14b5f950e0 /src/Text/Pandoc/Class.hs
parentc76eec97d4a8f78d3c1c212664364015a21b7404 (diff)
downloadpandoc-5e1249481b2e3fc27e845245a0c96c3687a23c3d.tar.gz
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.
Diffstat (limited to 'src/Text/Pandoc/Class.hs')
-rw-r--r--src/Text/Pandoc/Class.hs4
1 files changed, 2 insertions, 2 deletions
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