Debian Codegraph @

internal/log/logger_test.go

raw symbols SCIP
1 package log_testscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/
2
3 import (
4 "bytesscip-go gomod github.com/golang/go/src go1.25.0 bytes/"
5 "fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/"
6
7 "github.com/gokrazy/rsync/internal/logscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log`/"
8 )
9
10 type fakeLoggerscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger# struct {
11 outscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#out. *bytesscip-go gomod github.com/golang/go/src go1.25.0 bytes/.Bufferscip-go gomod github.com/golang/go/src go1.25.0 bytes/Buffer#
12 }
13
14 var _ logscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log`/.Loggerscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log`/Logger# = (*fakeLoggerscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#)(nil)
15
16 func (f *fakeLoggerscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#) Printfscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#Printf().(msg string, a ...any) {
17 fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.25.0 fmt/Fprintf().(f.outscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#out., msg, a...)
18 }
19
20 func (f *fakeLoggerscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#) Outputscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#Output().(calldepth int, s string) error {
21 fmtscip-go gomod github.com/golang/go/src go1.25.0 fmt/.Fprintfscip-go gomod github.com/golang/go/src go1.25.0 fmt/Fprintf().(f.outscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/log_test`/fakeLogger#out., "%s", s)
22 return nil
23 }