View Source LoggerJSON.FormatterUtils (logger_json v5.1.4)

This module contains functions that can be used across different LoggerJSON.Formatter implementations to provide common functionality.

Summary

Functions

Provide a string output of the MFA log entry.

Format an exception for use within a log entry.

RFC3339 UTC "Zulu" format.

Optionally put a value to a map.

Functions

Link to this function

format_function(module, function)

View Source

Provide a string output of the MFA log entry.

Link to this function

format_function(module, function, arity)

View Source
Link to this function

format_process_crash(md)

View Source

Format an exception for use within a log entry.

RFC3339 UTC "Zulu" format.

Link to this function

maybe_put(map, key, value)

View Source

Optionally put a value to a map.