Skip to main content

Config

This class represents the global logger configuration. It allows control over aspects such as including source code location in logs, muting all log output, and setting the minimum logging level. It also includes configuration for the log formatter.

Attributes

AttributeTypeDescription
IncludeSourceCodeboolDetermines whether to include source code location in logs, which might incur a performance hit and is only recommended on debug/development builds.
MuteboolDetermines whether the logger should mute all logs (including panics), intended for benchmarks/tests only.
Level[Level](level.md?sid=flytestdlib_logger_level)Determines the minimum log level to log.
Formatter[FormatterConfig](formatterconfig.md?sid=flytestdlib_logger_formatterconfig)Sets logging format.