File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,8 @@ func TestingSetup(options ...Option) error {
417417
418418// ObserverLogs provides the list of logs generated during the observation
419419// process.
420+ //
421+ // Deprecated: Use logptest.NewTestingLoggerWithObserver.
420422func ObserverLogs () * observer.ObservedLogs {
421423 return loadLogger ().observedLogs
422424}
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ func WithSelectors(selectors ...string) Option {
3737
3838// ToObserverOutput specifies that the output should be collected in memory so
3939// that they can be read by an observer by calling ObserverLogs().
40+ //
41+ // Deprecated: Use logptest.NewTestingLoggerWithObserver.
4042func ToObserverOutput () Option {
4143 return func (cfg * Config ) {
4244 cfg .toObserver = true
You can’t perform that action at this time.
0 commit comments