Function vsp_get_logger
Use the vsp_logging_class filter to change the logging class.
You may provide one of the following: - a class name which will be instantiated as new $class
with no arguments - an instance which will be used directly as the logger
In either case, the class or instance must implement WC_Logger_Interface.
boolean |
$subpath = false |
|
boolean |
$file_name = null |
|
boolean |
$filesize = false |
|
\VSP\Modules\Logger |