Skip to content

Repository files navigation

Verify.ZeroLog

DiscussionsBuild statusNuGet Status

Extends Verify to allow verification of ZeroLog bits.

See Milestones for release notes.

Sponsors

Entity Framework Extensions

Entity Framework Extensions is a major sponsor and is proud to contribute to the development this project.

Entity Framework Extensions

Developed using JetBrains IDEs

JetBrains logo.

NuGet

Usage

[ModuleInitializer]publicstaticvoidInitialize()=>VerifyZeroLog.Initialize();

snippet source | anchor

[Fact]publicTaskUsage(){Recording.Start();varresult=Method();returnVerify(result);}staticstringMethod(){varlogger=LogManager.GetLogger<Tests>();logger.Error("The error");logger.Warn("The warning");return"Result";}

snippet source | anchor

Results in:

{
target: Result,
log: [
{
Error: The error,
Logger: Tests
},
{
Warn: The warning,
Logger: Tests
}
]
}

snippet source | anchor

About

Extends Verify to allow verification of ZeroLog bits.

Resources

Code of conduct

Stars

6 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages