Skip to content

Commit

Permalink
Fixed a logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Jul 9, 2020
1 parent 8c9e09b commit ccf9c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Release 0.7.2.1
---------------

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

Release 0.7.2.0
---------------
Expand Down
6 changes: 3 additions & 3 deletions src/Text/Pandoc/Filter/Plot/Monad/Logging.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ import System.IO (stderr, withFile, IOMode (AppendM

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

Expand Down

0 comments on commit ccf9c16

Please sign in to comment.