Skip to content

Commit

Permalink
fix typo with docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwtly10 authored and dylanhitt committed Dec 29, 2024
1 parent 8aee459 commit 2d6cfa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions default_middlewares.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ var defaultLoggingConfig = LoggingConfig{
// For example:
//
// config := fuego.LoggingConfig{
// DisableRequest: false,
// DisableRequest: true,
// RequestIDFunc: func() string {
// return fmt.Sprintf("custom-%d", time.Now().UnixNano())
// },
// }
//
// The above configuration will disable the debug request logging and
// override the default request ID generator with a custom one that
// appends the current Unix time in nanoseconds
// override the default request ID generator (UUID) with a custom one that
// appends the current Unix time in nanoseconds for response logs
type LoggingConfig struct {
// If true, request logging is disabled
DisableRequest bool
Expand Down

0 comments on commit 2d6cfa4

Please sign in to comment.