LoggerLevel
extends Enum
in package
This is the logger leveles enumerate.
Table of Contents
ALERT | = 6 | |
---|---|---|
CRITICAL | = 5 | |
DEBUG | = 0 | |
EMERGENCY | = 7 | |
ERROR | = 4 | |
INFO | = 1 | |
NOTICE | = 2 | |
WARNING | = 3 | |
getValues() | : array<string|int, mixed> | |
isValid() | Check if the given value is inside the called enumerate. | : bool |
Constants
ALERT
public
mixed
ALERT
= 6
CRITICAL
public
mixed
CRITICAL
= 5
DEBUG
public
mixed
DEBUG
= 0
EMERGENCY
public
mixed
EMERGENCY
= 7
ERROR
public
mixed
ERROR
= 4
INFO
public
mixed
INFO
= 1
NOTICE
public
mixed
NOTICE
= 2
WARNING
public
mixed
WARNING
= 3
Methods
getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —isValid()
Check if the given value is inside the called enumerate.
public
static isValid(string $value) : bool
Parameters
- $value : string
-
value to check