Initializes a new n2f_debug object.
-
n2f_cfg_dbg
$cfg: Instance of n2f_cfg_dbg object for current configuration
Redefinition of:
- n2f_events::__construct()
- Initializes the n2f_events object.
Returns the internal list of errors.
array
getErrors
()
Returns the internal list of notices.
array
getNotices
()
Returns the internal list of warnings.
array
getWarnings
()
Returns true or false depending on whether or not the provided debug level is currently toggled.
boolean
showLevel
(integer $level)
-
integer
$level: Level to compare against for toggle
Adds an error to the internal list.
n2f_debug
throwError
(
integer $errno,
string $errstr,
string $file)
-
integer
$errno: Error number being reported
-
string
$errstr: Error string being reported
-
string
$file: File where error was recorded from
Adds a notice to the internal list.
n2f_debug
throwNotice
(
integer $notno,
string $notstr,
string $file)
-
integer
$notno: Notice number being reported
-
string
$notstr: Notice string being reported
-
string
$file: File where notice was recorded from
Adds a warning to the internal list.
n2f_debug
throwWarning
(
integer $warno,
string $warstr,
string $file)
-
integer
$warno: Warning number being reported
-
string
$warstr: Warning string being reported
-
string
$file: File where warning was recorded from
Inherited Methods
Inherited From n2f_events
n2f_events::__construct()
n2f_events::addEvent()
n2f_events::hitEvent()
n2f_events::hookEvent()