Log v0.8.1 API Reference

Modules

Log

Log frontend for Logger

Provides macros to define log-macros named after levels

Provides logging for simple data structures in a human-readable fashion. It's meant to be used for manually-provided data structures with 1-4 fields

Provides Logger backend for console logging functionality with output filtering through environment variables

Provides function to change casing of strings, used in Log.Args

Defines Color type

Provides a datastructure to configure Log

Provides functions to get default runtime configuration

Parser for CONSOLE_DEVICE environment variable

Provides functions to mark the message as skippable from the log writer

Provides functions to test if filter level is greater than a certain level.

Provides functions to convert a Log.Message.t() in text form

Behaviour for writing a Log.Message.t() to IO

Provides Log.IO implementation to write to STDIO or STDERR

Log frontend for Logger focused on performing inspect of input data

Provides functions to configure and order different levels

Provides functions to parse level strings

Provides functions to parse LOG_LEVEL into filtering

Identifier for None level filter

Provides a datastructure that holds all the information related to an incoming log message that needs to output

Provide functions to replace namespaces from module names

Provides functions to determine module name prefix

Provides function to parse an atom into a Log.Tag.t()

Identifier for special tag :* which makes the message always included in the output

Provides functions to parse a list of atoms into a list of tags

Provides functions to convert from a Logger timestamp to a NaiveDateTime.t()