1 // Package ldlogtest contains test helpers for use with [ldlog]. 2 // 3 // This package provides the [MockLog] type, which allows you to capture output that is sent to the 4 // ldlog.Loggers API. This can be useful in test code for verifying that some component produces the 5 // log output you expect it to. It is separate from the ldlog package because production code 6 // normally will not use this tool. 7 package ldlogtest 8