public function Logger::setCurrentUser in Monolog 8
Same name and namespace in other branches
- 2.x src/Logger/Logger.php \Drupal\monolog\Logger\Logger::setCurrentUser()
Sets the current user.
Parameters
\Drupal\Core\Session\AccountInterface|null $current_user: The current user object.
Overrides LoggerChannelInterface::setCurrentUser
File
- src/
Logger/ Logger.php, line 59
Class
- Logger
- Logger class for the Drupal Monolog module.
Namespace
Drupal\monolog\LoggerCode
public function setCurrentUser(AccountInterface $current_user = NULL) {
// Do nothing, use a handler for this.
}