Bearsampp 2025.8.29
Loading...
Searching...
No Matches
ActionSwitchLogsVerbose Class Reference

Public Member Functions

 __construct ($args)

Detailed Description

Class ActionSwitchLogsVerbose

This class handles the action of switching the verbosity level of logs.

Definition at line 15 of file class.action.switchLogsVerbose.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $args)

ActionSwitchLogsVerbose constructor.

Parameters
array$argsAn array of arguments where the first element should be the verbosity level (0-3).

Definition at line 22 of file class.action.switchLogsVerbose.php.

23 {
24 global $bearsamppConfig;
25
26 // Check if the first argument is set, is numeric, and within the valid range (0-3)
27 if (isset($args[0]) && is_numeric($args[0]) && $args[0] >= 0 && $args[0] <= 3) {
28 // Replace the current verbosity level in the configuration
30 }
31 }
const CFG_LOGS_VERBOSE
global $bearsamppConfig
Definition homepage.php:27

References $bearsamppConfig, and Config\CFG_LOGS_VERBOSE.


The documentation for this class was generated from the following file: