Standard library / log/slog
slog.MessageKey
Built-in handler attribute key for message. Expected stdout: 'msg\n'.
Formal Syntax & Structure
go syntaxgo
const MessageKey = "msg"Working Example
Example Snippetgo
package main
import ( "fmt" "log/slog")
func main() { fmt.Println(slog.MessageKey) }