Skip to content

Commit a41654b

Browse files
committed
docs(logger): correct LoggerStatusKey slog.Value type to int
1 parent 10162fd commit a41654b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
// Keys for "built-in" logger attribute for the logger middleware.
1414
const (
1515
// LoggerStatusKey is the key used by the built-in logger middleware for the HTTP response status code
16-
// when the log method is called. The associated [slog.Value] is a string.
16+
// when the log method is called. The associated [slog.Value] is an int.
1717
LoggerStatusKey = "status"
1818
// LoggerMethodKey is the key used by the built-in logger middleware for the HTTP request method.
1919
// The associated [slog.Value] is a string.

0 commit comments

Comments
 (0)