commit | 8e07af36b1896fb18e96d8342f29e0f668a543df | [log] [tgz] |
---|---|---|
author | Adam Kocoloski <adam@cloudant.com> | Thu Mar 10 11:43:11 2011 -0500 |
committer | Adam Kocoloski <adam@cloudant.com> | Thu Mar 10 11:43:11 2011 -0500 |
tree | cc1b85ec3dc525d4c2138002f65ec52a0916727e | |
parent | 827b13bae335fbaf3e32fbefaa6c0d6b670602b1 [diff] |
Fix set_level/1
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: