Skip to content

ilya-hontarau/slogtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slogtest

Easy assertion of log/slog.

Usage

		matcher := NewMatcher(t).WithMsg("test")
		defer matcher.Finish() // required

		logger := slog.New(matcher.Handler())
		logger.Info("test")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages