Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/common
/ String
Method
String
promslog/slog.go:126–128 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
124
func
NewFormat() *Format {
return
&Format{} }
125
126
func
(f *Format) String() string {
127
return
f.s
128
}
129
130
// Set updates the value of the allowed format.
131
func
(f *Format) Set(s string) error {
Callers
1
WithEscapingScheme
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected