Add regression e2e test for incomplete debug message.

See #325.
This commit is contained in:
Maximilian Paß
2023-08-01 12:08:37 +02:00
committed by Sebastian Serth
parent 4d661138e9
commit 0fd6e42487
8 changed files with 128 additions and 20 deletions

View File

@ -181,6 +181,14 @@ func (f File) ByteContent() []byte {
}
}
// Formatter mirrors the available Formatters of logrus for configuration purposes.
type Formatter string
const (
FormatterText = "TextFormatter"
FormatterJSON = "JSONFormatter"
)
// ContextKey is the type for keys in a request context that is used for passing data to the next handler.
type ContextKey string