blog
twitter
Termite Logging Framework for .NET termite VS Tool online logging
 
tweet tweet tweet tweet tweet

How to Access the Configured Logger

At the top of your source code file, as always, reference the framework, like such:

using BitFactory.Logging;


The configured logger can be accessed by:

ConfigLogger.Instance


So, to log an error, your code might look something like:

ConfigLogger.Instance.LogError("Ouch!");