Function: debug_message()
function debug_message(string $msg): void;
Short function for writing debug messages to the log.
Parameters
| Name |
Pass type |
Value type |
Default value |
Description |
|
$msg
|
by value
|
string
|
|
The message to be logged.
|
Returns
void
Throws
\Exception
It might throw the following exceptions in the case of any errors:
- if the interface or class is not specified.
- if the interface or class does not exist.
- if the check of the classes and interfaces fails.
- if the debug file is not writable.
Authors
Package
Source code