Adding a dummy log writer WRITER_NONE that just discards everything.

This can be handy when oen doesn't want any output but still get
access to filter functionality, including rotation; and also for
general testing.
This commit is contained in:
Robin Sommer 2011-10-26 10:18:05 -07:00
parent f98dac9571
commit 2f2fad1f80
5 changed files with 50 additions and 0 deletions

View file

@ -159,6 +159,7 @@ module Log;
enum Writer %{
WRITER_DEFAULT,
WRITER_NONE,
WRITER_ASCII,
%}