Logging.Unity.Interception 1.0.7

Implementes simple logging using Unity.Interception and LibLog to support all popular logging libraries

Install-Package Logging.Unity.Interception -Version 1.0.7
dotnet add package Logging.Unity.Interception --version 1.0.7
<PackageReference Include="Logging.Unity.Interception" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Logging.Unity.Interception --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Logging.Unity.Inteception Build Status

Example

var uc = new UnityContainer();
uc.AddNewExtension<Interception>();

uc.RegisterType<IDummyService, DummyService>(
    new Interceptor<InterfaceInterceptor>(), new InterceptionBehavior<LoggingInterceptionBehavior>());

Customization

To change method description, please inherite from LoggingInterceptionBehavior and override BuildMethodInvocationDescr. By default, it uses MethodInvocationExtensions

Logging.Unity.Inteception Build Status

Example

var uc = new UnityContainer();
uc.AddNewExtension<Interception>();

uc.RegisterType<IDummyService, DummyService>(
    new Interceptor<InterfaceInterceptor>(), new InterceptionBehavior<LoggingInterceptionBehavior>());

Customization

To change method description, please inherite from LoggingInterceptionBehavior and override BuildMethodInvocationDescr. By default, it uses MethodInvocationExtensions

Release Notes

See release notes here  https://github.com/semashkinvg/Logging.Unity.Interception/blob/master/ReleaseNotes.md

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.7 413 7/7/2018
1.0.6 349 7/7/2018