MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / Warning

Method Warning

pkg/management/logtest/logtest.go:124–126  ·  view source on GitHub ↗

Warning implements the log.Logger interface

(msg string, keysAndValues ...interface{})

Source from the content-addressed store, hash-verified

122
123// Warning implements the log.Logger interface
124func (s *SpyLogger) Warning(msg string, keysAndValues ...interface{}) {
125 s.AddRecord(NewRecord(s.Name, LogLevelWarning, msg, nil, keysAndValues...))
126}
127
128// Info implements the log.Logger interface
129func (s *SpyLogger) Info(msg string, keysAndValues ...interface{}) {

Callers 15

SetEnvVarsFunction · 0.80
ensurePodIsFencedMethod · 0.80
hasUnknownStatusFunction · 0.80
reconcilePVCQuantityFunction · 0.80
getSyncReplicasDataFunction · 0.80
getElectableSyncReplicasFunction · 0.80
buildInitDBFlagsFunction · 0.80
StartMethod · 0.80

Calls 2

AddRecordMethod · 0.95
NewRecordFunction · 0.85

Tested by

no test coverage detected