Docs

EVF_Logger::__construct( array $handlers = null, string $threshold = null )

Constructor for the logger.

Parameters

$handlersarrayoptional
Array of log handlers. If $handlers is not provided, the filter 'everest_forms_register_log_handlers' will be used to define the handlers. If $handlers is provided, the filter will not be applied and the handlers will be used directly.

Default:null

$thresholdstringoptional
Define an explicit threshold. May be configured via EVF_LOG_THRESHOLD. By default, all logs will be processed.

Default:null

Hooks

apply_filters( ‘everest_forms_register_log_handlers’ )

Provides logging capabilities for debugging purposes.