Package-level declarations
Rendering log events as JSON or plain text.
Types
Interface for rendering a LogEvent to a String.
Properties
Extension property that extracts the list of items and stack trace if present in a LogEvent.
Extension property for Kotlin Instant to render it in local time as two words.
Implementation of RenderString like that for Log4J2 with ANSI colouring of level output to a console.
Render a LogEvent into JSON in Elastic Common Schema for sending directly to an ELK stack.
Render a LogEvent into JSON to mimic that described in Elastic Common Schema for .NET.
Simple implementation of RenderString for output to the standard output stream, mostly on one line.
Render a LogEvent into structured JSON log format.
Functions
Extension function that replaces values of placeholders in the message
field with values of items whose keys match them.
Right-align the string into a fixed-width space.
Serialize a map with string keys to JSON.
Shortens the given name if it exceeds the specified width.