forked from mirror/Part-DB.Part-DB-server
Use a enum for level in LogEntries
This commit is contained in:
parent
4a644d8712
commit
2da7463edf
18 changed files with 322 additions and 149 deletions
|
@ -33,7 +33,7 @@ class UserLogoutLogEntry extends AbstractLogEntry
|
|||
public function __construct(string $ip_address, bool $anonymize = true)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->level = self::LEVEL_INFO;
|
||||
$this->level = LogLevel::INFO;
|
||||
$this->setIPAddress($ip_address, $anonymize);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue