Module logi_layout_default

A logi_layout implementation which is used as the default layout in this application.

Copyright © 2015-2016 Takeru Ohta <phjgt308@gmail.com>

Behaviours: logi_layout.

Description

A logi_layout implementation which is used as the default layout in this application

This module layouts a log message by the following format:
  {yyyy}-{MM}-{dd} {HH}:{mm}:{ss}.{SSS} [{SEVERITY}] {NODE} {PID} {MODULE}:{FUNCTION}:{LINE} [{HEADER(KEY=VALUE)}*] {MESSAGE}

Function Index

new/0Creates a new layout instance.

Function Details

new/0

new() -> logi_layout:layout(binary())

Creates a new layout instance


Generated by EDoc, Sep 27 2018, 23:13:24.