MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / WithLabel

Method WithLabel

log/logger.go:13–13  ·  view source on GitHub ↗

WithLabel returns a logger with an added label (e.g. username, IP, etc.) Panics if the label name is empty.

(labelName message.LabelName, labelValue message.LabelValue)

Source from the content-addressed store, hash-verified

11 WithLevel(level config.LogLevel) Logger
12 // WithLabel returns a logger with an added label (e.g. username, IP, etc.) Panics if the label name is empty.
13 WithLabel(labelName message.LabelName, labelValue message.LabelValue) Logger
14
15 // Debug logs a message at the debug level.
16 Debug(message ...interface{})

Callers 15

NewFunction · 0.65
createMetricsServerFunction · 0.65
createSSHServerFunction · 0.65
createAuditLogHandlerFunction · 0.65
createAuthHandlerFunction · 0.65
createBackendFunction · 0.65
MainFunction · 0.65
NewClientWithHeadersFunction · 0.65
requestURLWithLoggerMethod · 0.65
requestMethod · 0.65
createFlowMethod · 0.65
createFlowMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected