-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Render and parse df1 logs as HTML
--
-- Render and parse df1 logs as HTML
@package df1-html
@version 0.1
module Df1.Html.Parse
-- | An Xmlbf parser for a Log rendered as HTML as log
-- renders it.
--
-- Notice that this parser will not ignore leading and trailing white
-- space in the HTML. It will become part of the parsed Key,
-- Value, Segment, Message.
log :: Parser Log
module Df1.Html.Render
-- | Converts Log into a list of Nodes from Xmlbf to
-- render it as HTML.
--
-- Example log: 1999-12-20T07:11:39.230553031Z /foo x=a y=b /bar /qux
-- z=c z=d WARNING Something
--
-- The generated HTML matches the following CSS selectors:
--
--
-- - .df1-log.df1-debug
-- - .df1-log.df1-info
-- - .df1-log.df1-notice
-- - .df1-log.df1-warning
-- - .df1-log.df1-error
-- - .df1-log.df1-critical
-- - .df1-log.df1-alert
-- - .df1-log.df1-emergency Top level container for a
-- Log entry of a particular Level.
-- - .df1-log .df1-time Timestamp - Example:
-- 1999-12-20T07:11:39.230553031Z
-- - .df1-log .df1-path Full list of Paths -
-- Example: /foo x=a y=b /bar /qux z=c z=d
-- - .df1-log .df1-path .df1-push Single Push -
-- Examples: /foo, /bar, /qux
-- - .df1-log .df1-path .df1-push .df1-seg Single
-- Segment - Example: foo
-- - .df1-log .df1-path .df1-attr Single Attr -
-- Example: x=a, y=b, z=c, z=d
-- - .df1-log .df1-path .df1-attr .df1-key Single
-- Key - Example: x, y, z,
-- z
-- - .df1-log .df1-path .df1-attr .df1-value Single
-- Value - Example: a, b, c,
-- d
-- - .df1-log .df1-level Level - Example:
-- WARNING
-- - .df1-log .df1-msg Message - Example:
-- Something
--
log :: Log -> [Node]