Abstract classes are exported for developers that want to extend them, they are not useful to casual users. Layouts get a LogEvent passed down from an Appender, and format them for output. How this formatting works exactly varies widely. For example for file or console output the log event is usually formatted into a single character line.
Layouts are instantiated with
<LayoutSubclass>$new(). For a description of
the arguments to this function please refer to the Fields section.
format a LogEvent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.