|
Joutsen Logging
v0.4.1
|
Logging is a simple framework for the Mono/.NET framework that allows to create log output in different forms. It is modular and extensible. Loggers can easily be configured in XML files and used to write to different targets. At the same time it is possible to restrict the output through filters and create different output formats.
Simply download the latest assemblies and add them to your .NET project or build them yourself by cloning the repository and build the solution using the build.sh file from the scripts folder.
In order to use the logger in your project simply create a logger instance and add the desired filter and handlers like this:
Another way to create a logger is by creating a config file that defines the logger, filter and formatters like this:
The easiest way to retrive the logger is then to use the logger factory:
Once the logger is created call the methods on the instance to create entries.
See the API documentation for further details.
Development documentation can be found here.
API documentation in HTML can be downloaded from [here]().
Tests can be run using NUnit by using the projects in the test folder. For unit test simply run
Similarly run
to also run the component tests.
Build and tests are also automatically run on the Jenkins CI server at https://ci.norsecorby.de/.
1.8.13