Standard library / log/slog
slog.LevelDebug
Conventional debug severity level. Expected stdout: '-4\n'.
Formal Syntax & Structure
go syntaxgo
const LevelDebug Level = -4Working Example
Example Snippetgo
package main
import ( "fmt" "log/slog")
func main() { fmt.Println(int(slog.LevelDebug)) }