Copyright | Copyright (C) 2006-2021 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This module provides data types and functions for warnings and info messages.
Synopsis
- data Verbosity
- data LogMessage
- = SkippedContent Text SourcePos
- | IgnoredElement Text
- | DuplicateLinkReference Text SourcePos
- | DuplicateNoteReference Text SourcePos
- | NoteDefinedButNotUsed Text SourcePos
- | DuplicateIdentifier Text SourcePos
- | ReferenceNotFound Text SourcePos
- | CircularReference Text SourcePos
- | UndefinedToggle Text SourcePos
- | ParsingUnescaped Text SourcePos
- | CouldNotLoadIncludeFile Text SourcePos
- | MacroAlreadyDefined Text SourcePos
- | InlineNotRendered Inline
- | BlockNotRendered Block
- | DocxParserWarning Text
- | PowerpointTemplateWarning Text
- | IgnoredIOError Text
- | CouldNotFetchResource Text Text
- | CouldNotDetermineImageSize Text Text
- | CouldNotConvertImage Text Text
- | CouldNotDetermineMimeType Text
- | CouldNotConvertTeXMath Text Text
- | CouldNotParseCSS Text
- | Fetching Text
- | Extracting Text
- | LoadedResource FilePath FilePath
- | NoTitleElement Text
- | NoLangSpecified
- | InvalidLang Text
- | CouldNotHighlight Text
- | MissingCharacter Text
- | Deprecated Text Text
- | NoTranslation Text
- | CouldNotLoadTranslations Text Text
- | UnusualConversion Text
- | UnexpectedXmlElement Text Text
- | UnknownOrgExportOption Text
- | CouldNotDeduceFormat [Text] Text
- | RunningFilter FilePath
- | FilterCompleted FilePath Integer
- | CiteprocWarning Text
- | ATXHeadingInLHS Int Text
- | EnvironmentVariableUndefined Text
- | DuplicateAttribute Text Text
- encodeLogMessages :: [LogMessage] -> ByteString
- showLogMessage :: LogMessage -> Text
- messageVerbosity :: LogMessage -> Verbosity
Documentation
Verbosity level.
Instances
data LogMessage Source #
Instances
encodeLogMessages :: [LogMessage] -> ByteString Source #
showLogMessage :: LogMessage -> Text Source #