setLogger()
setLogger(\Omega\Logging\LoggerInterface $logger) : void
Sets a logger instance on the object.
Parameters
\Omega\Logging\LoggerInterface | $logger |
Logger aware interface.
The LoggerAwareInterface is part of the Omega logging package and provides a method for setting a logger instance on an object. This allows any object to become "logger-aware," enabling it to interact with the logger for recording log messages.