MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / String

Method String

config/log.go:161–163  ·  view source on GitHub ↗

String Convert the int level to the string representation. Panics if the level is not valid.

()

Source from the content-addressed store, hash-verified

159
160// String Convert the int level to the string representation. Panics if the level is not valid.
161func (level LogLevel) String() string {
162 return string(level.MustName())
163}
164
165// Validate if the log level has a valid value
166func (level LogLevel) Validate() error {

Callers

nothing calls this directly

Calls 1

MustNameMethod · 0.95

Tested by

no test coverage detected