MCPcopy
hub / github.com/rclone/rclone / Logf

Method Logf

backend/s3/s3.go:1440–1448  ·  view source on GitHub ↗

Logf is expected to support the standard fmt package "verbs".

(classification logging.Classification, format string, v ...any)

Source from the content-addressed store, hash-verified

1438
1439// Logf is expected to support the standard fmt package "verbs".
1440func (s3logger) Logf(classification logging.Classification, format string, v ...any) {
1441 switch classification {
1442 default:
1443 case logging.Debug:
1444 fs.Debugf("S3 SDK", format, v...)
1445 case logging.Warn:
1446 fs.Infof("S3 SDK", format, v...)
1447 }
1448}
1449
1450// s3Connection makes a connection to s3
1451func s3Connection(ctx context.Context, opt *Options, client *http.Client) (s3Client *s3.Client, provider *Provider, err error) {

Callers 15

dirMoveMethod · 0.80
moveMethod · 0.80
copyMethod · 0.80
TestListWithoutMetadataFunction · 0.80
TestTimeStringFunction · 0.80
TestParseTimeStringFunction · 0.80
InternalTestVersionsMethod · 0.80
TestRenewalInTimeLimitFunction · 0.80
TestFileNameEncodingFunction · 0.80
assertHeadersAndMetadataFunction · 0.80
TestInternalUrlEncodeFunction · 0.80

Calls 2

DebugfFunction · 0.92
InfofFunction · 0.92

Tested by 15

dirMoveMethod · 0.64
moveMethod · 0.64
copyMethod · 0.64
TestListWithoutMetadataFunction · 0.64
TestTimeStringFunction · 0.64
TestParseTimeStringFunction · 0.64
InternalTestVersionsMethod · 0.64
TestRenewalInTimeLimitFunction · 0.64
TestFileNameEncodingFunction · 0.64
assertHeadersAndMetadataFunction · 0.64
TestInternalUrlEncodeFunction · 0.64