aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Logging.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-02-11Logging: export logMessagesToJSON.John MacFarlane1-0/+10
Use a deterministic order for fields.
2017-02-11Use new warnings throughout the code base.John MacFarlane1-31/+74
2017-02-10Logging: added ToJSON instance and showLogMessage.John MacFarlane1-3/+96
This gives us the possibility of both machine-readable and human-readable output for log messages. See #3392.
2017-02-10Added Text.Pandoc.Logging (exported module).John MacFarlane1-0/+76
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.