MCPcopy Index your code
hub / github.com/CodisLabs/codis / Set

Method Set

pkg/utils/log/log.go:103–105  ·  view source on GitHub ↗
(v LogLevel)

Source from the content-addressed store, hash-verified

101}
102
103func (l *LogLevel) Set(v LogLevel) {
104 atomic.StoreInt64((*int64)(l), int64(v))
105}
106
107func (l *LogLevel) Test(m LogType) bool {
108 v := atomic.LoadInt64((*int64)(l))

Callers 15

SetMaxOffheapBytesFunction · 0.45
SetLevelMethod · 0.45
SetTraceLevelMethod · 0.45
apiRequestJsonFunction · 0.45
TestBackendFunction · 0.45
newApiServerFunction · 0.45
initFunction · 0.45
ResetStatsFunction · 0.45
CloseWithErrorMethod · 0.45
CloseMethod · 0.45
loopWriterMethod · 0.45
MkdirMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestBackendFunction · 0.36