API Reference util v1.1.5
modules
Modules
Periodically read an append-only log file and parse newly added data.
This application implements a leader election behavior modeled after gen_server. This behavior intends to make it reasonably straightforward to implement a fully distributed server with master-slave semantics.
Sample restricted remote shell module disabling q/0
and init:stop/{0,1}
commands. The shell introduces a replacement command to stop remote node: remote:stop/1
equivalent to init:stop/1
.
SMTP mail client. This module can sent emails to one or more recipients, using primary/backup SMTP servers. Messages can contain attachments.
Throttle given rate over a number of seconds.
Module to print out terms for logging. Limits by length rather than depth.
code:load_abs(os:getenv("HOME") ++ "/.erlang/user_default").
Implementation of coloring handler for the Erlang's logger. See https://github.com/hauleth/logger_colorful.
Log formatter Derived from //kernel/logger/logger_formatter
% Example xml:
<?xml version="1.0" encoding="UTF-8" ?>
<root id="1">
<ele id="2"/>
<ele id="3">vvv\nxxx\n</ele>
</root>
# Usage example
1> xmltree:file(L).
{root,[{id,<<"1">>}],
[{ele,[{id,<<"2">>}],[]},
{ele,[{id,<<"3">>}],<<"vvv\nxxx\n">>}]}
2> Rules = {root, [{id,integer}], [{ele, [{id,integer}], string}]},
2> xmltree:string(L, Rules).
{root,[{id,1}],
[{ele,[{id,2}],[]},{ele,[{id,3}],"vvv\nxxx\n"}]}