Re.Mark

My Life As A Blog

Bring Your Own

leave a comment »

I have started to implement logging support for nspectre.  It will use a “Bring Your Own Logger” design.  What that means is that nspectre will define an ILogger interface and you’ll be able to write your own implementation of ILogger to use your preferred logging tool.  The first advantage of this approach is no hard dependency, which makes deploying nspectre much easier.  The second advantage is that it makes testing the logging easy – the interface means that NUnit mocks will do the trick.

Advertisements

Written by remark

April 13, 2006 at 7:08 pm

Posted in nspectre

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: