Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogSettings ¶
type SourceFormatter ¶
type SourceFormatter struct {
// Underlying is the formatter (e.g., &logrus.TextFormatter{}) that we will delegate to.
Underlying logrus.Formatter
// AddSpace indicates whether to add an extra newline for readability, typically for text format.
AddSpace bool
}
SourceFormatter is a custom formatter to control the caller output. It wraps a standard formatter (like TextFormatter or JSONFormatter).
Click to show internal directories.
Click to hide internal directories.