Search Wiki:
log4net Lambda Sample

A simple log4net wrapper which exposes logger methods as delegates, so log calls can be made using lambda expressions which are only evaluated if the active logging level is set.

Contents

log4net wrapper, unit tests

References

See: http://geekswithblogs.net/EltonStoneman/archive/2009/04/15/making-logging-cheaper-with-lambda-expressions.aspx
Last edited Apr 15 2009 at 10:10 PM  by EltonStoneman, version 3
Updating...
Page view tracker