Skip to content

Commit ccf9c16

Browse files
committed
Fixed a logging issue
1 parent 8c9e09b commit ccf9c16

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release 0.7.2.1
66
---------------
77

88
* Fixed an issue where the `pandoc` version was not parsed properly, giving rise to errors when running `pandoc-plot`.
9+
* Fixed an issue where logging errors were not always displayed.
910

1011
Release 0.7.2.0
1112
---------------

src/Text/Pandoc/Filter/Plot/Monad/Logging.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ import System.IO (stderr, withFile, IOMode (AppendM
3838

3939
-- | Verbosity of the logger.
4040
data Verbosity = Debug -- ^ Log all messages, including debug messages.
41-
| Error -- ^ Log information, warnings, and errors.
42-
| Warning -- ^ Log information and warning messages.
43-
| Info -- ^ Only log information messages.
41+
| Info -- ^ Log information, warning, and error messages.
42+
| Warning -- ^ Log warning and error messages.
43+
| Error -- ^ Only log errors.
4444
| Silent -- ^ Don't log anything.
4545
deriving (Eq, Ord, Show)
4646

0 commit comments

Comments
 (0)