Documentation
¶
Overview ¶
Package logtest provides a regression check shared by fleetcli and fleet-controller subcommand packages: any Run method that uses the controller-runtime logger must also configure it via ctrl.SetLogger, or its log output is silently dropped.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPackageConfiguresLogger ¶
AssertPackageConfiguresLogger scans every non-test .go file in the caller's directory. For each Run method whose body uses the controller-runtime logger, it fails t if that method does not also call SetLogger.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.