src/Shared/Debug/DebuggableTrait.php
public function debug(/*# string */ $message)
    {
        if ($this->isDebugging()) {
            $this->debug_logger->debug(
                $message,
                ['className' => get_class($this)]
            );
        }
        return $this;
    }
public function debug(/*# string */ $message)
    {
        if ($this->isDebugging()) {
            $this->debug_logger->debug(
                $message,
                ['className' => get_class($this)]
            );
        }
        return $this;
    }
{@inheritDoc}