Skip to content

HasCommandLogger

github-actions[bot] edited this page May 2, 2026 · 1 revision

Resolves the logger expected by command result helper traits.

The trait caches the shared logger lazily so consuming commands do not need to carry constructor wiring for internal logging helpers.


  • Full name: \FastForward\DevTools\Console\Command\Traits\HasCommandLogger

Methods

getLogger

Returns the logger configured for the consuming command.

public getLogger(): \Psr\Log\LoggerInterface

Clone this wiki locally