Copyright | Copyright (C) 2006-2018 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.
- data Verbosity
- data LogMessage
- = SkippedContent String SourcePos
- | CouldNotParseYamlMetadata String SourcePos
- | DuplicateLinkReference String SourcePos
- | DuplicateNoteReference String SourcePos
- | NoteDefinedButNotUsed String SourcePos
- | DuplicateIdentifier String SourcePos
- | ReferenceNotFound String SourcePos
- | CircularReference String SourcePos
- | UndefinedToggle String SourcePos
- | ParsingUnescaped String SourcePos
- | CouldNotLoadIncludeFile String SourcePos
- | MacroAlreadyDefined String SourcePos
- | InlineNotRendered Inline
- | BlockNotRendered Block
- | DocxParserWarning String
- | IgnoredIOError String
- | CouldNotFetchResource String String
- | CouldNotDetermineImageSize String String
- | CouldNotConvertImage String String
- | CouldNotDetermineMimeType String
- | CouldNotConvertTeXMath String String
- | CouldNotParseCSS String
- | Fetching String
- | Extracting String
- | NoTitleElement String
- | NoLangSpecified
- | InvalidLang String
- | CouldNotHighlight String
- | MissingCharacter String
- | Deprecated String String
- | NoTranslation String
- | CouldNotLoadTranslations String String
- | UnexpectedXmlElement String String
- encodeLogMessages :: [LogMessage] -> ByteString
- showLogMessage :: LogMessage -> String
- messageVerbosity :: LogMessage -> Verbosity
Documentation
Verbosity level.
data LogMessage Source #
encodeLogMessages :: [LogMessage] -> ByteString Source #
showLogMessage :: LogMessage -> String Source #