commit | c4d7baf143748a30f1b0991429d760b134065c4c | [log] [tgz] |
---|---|---|
author | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 22:05:13 2011 -0500 |
committer | Adam Kocoloski <adam@cloudant.com> | Tue Mar 08 22:05:13 2011 -0500 |
tree | fbf9e0cd2398c26383110d80f92fb940925e9eea | |
parent | 263e0174714747d797037b056ae1cfe1bc9cd377 [diff] |
Add trunc_io.erl v 1.11 from Matthias Lang http://www.corelatus.com/~matthias/trunc_io.erl
Twig is a SASL-compliant Erlang/OTP logger. It installs a gen_event handler in the error_logger event manager, where it consumes standard OTP reports and messages as well as events generated by twig:log/2,3,4. Log messages are written to a syslog server over UDP using the format specified in RFC 5424.
Twig's behavior is controlled using the application environment: