diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-10 20:59:54 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-10 20:59:54 +0100 |
commit | 5e1249481b2e3fc27e845245a0c96c3687a23c3d (patch) | |
tree | ae8518c276aa6860755f6c2118e02d14b5f950e0 /src/Text/Pandoc.hs | |
parent | c76eec97d4a8f78d3c1c212664364015a21b7404 (diff) |
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.hs')
-rw-r--r-- | src/Text/Pandoc.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs index 1a0bbc4ab..47b891eb3 100644 --- a/src/Text/Pandoc.hs +++ b/src/Text/Pandoc.hs @@ -58,6 +58,8 @@ module Text.Pandoc , module Text.Pandoc.Generic -- * Options , module Text.Pandoc.Options + -- * Logging + , module Text.Pandoc.Logging -- * Typeclass , PandocMonad , runIO @@ -189,6 +191,7 @@ import Text.Pandoc.Writers.Custom import Text.Pandoc.Writers.TEI import Text.Pandoc.Templates import Text.Pandoc.Options +import Text.Pandoc.Logging import Text.Pandoc.Shared (safeRead, mapLeft, pandocVersion) import Text.Pandoc.Error import Text.Pandoc.Class |