src/Koldy/Log.php
public static function temporaryDisable($levels = null): void
    {
        $disable = true;

        if (is_array($levels)) {
            $disable = $levels;
        } else if (is_string($levels)) {
            $disable = [$levels];
        }

        static::$temporaryDisabled = $disable;
    }
public static function temporaryDisable($levels = null): void
    {
        $disable = true;

        if (is_array($levels)) {
            $disable = $levels;
        } else if (is_string($levels)) {
            $disable = [$levels];
        }

        static::$temporaryDisabled = $disable;
    }
public static function temporaryDisable ( $ levels = null ) : void { $ disable = true ; if ( is_array ( $ levels ) ) { $ disable = $ levels ; } else if ( is_string ( $ levels ) ) { $ disable = [ $ levels ] ; } static :: $ temporaryDisabled = $ disable ; }
Temporary disable all logging

@param array|null ...$levels
Temporary disable all logging