Add an entry to log, if the database is updated.

This commit is contained in:
Jan Böhmer 2020-01-26 21:31:48 +01:00
parent d5f018a738
commit bfa43e68a9
6 changed files with 110 additions and 7 deletions

View file

@ -35,6 +35,7 @@ class UserLoginLogEntry extends AbstractLogEntry
public function __construct(string $ip_address, bool $anonymize = true)
{
parent::__construct();
$this->level = self::LEVEL_INFO;
$this->setIPAddress($ip_address, $anonymize);
}