logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howe, Peter L" <ph...@paychex.com>
Subject Is<level>Enabled
Date Tue, 04 Jun 2013 15:23:24 GMT

Question: Why are the ILog instance properties (IsDebugEnabled, IsInfoEnabled, etc.) read-only?
 Would it not be simpler to be able to turn these on or off at will from code, instead of
deploying a new XML file?  Is there a programmatic way to turn levels on or off (for instance,
by an application that reads such switches from a database.)?

Thanks in advance.

The information contained in this message may be privileged, confidential and protected from
disclosure. If the reader of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify your representative immediately
and delete this message from your computer. Thank you.

View raw message