$enableTime
$enableTime : boolean
Enables or disables date time stamp in the log messages
A most simple but powerful debug utility.
Static library.
PHP Version 7.1
$logFileName : string
Defines the log file name
Possible options:
$constantNameForLogFilePath.
If no constant is defined the default path ($defaultLogFilePath) will be used.log(mixed $args)
Saves a log data of any type.
Example of using:
Debug::log(); //<--- The arguments of calling function will be added to the log
Debug::log('Hello'); //<--- 'Hello' will be added to the log
Debug::log('My data', 123, 'test', [1,2,3]); //<--- All this data will be added to the log
Debug::log(['My' => 'Hash']); //<--- The array will be added to the log
| mixed | $args |