phpbb\log\log::disable PHP Method

disable() public method

{@inheritDoc}
public disable ( $type = '' )
    public function disable($type = '')
    {
        if (is_array($type)) {
            foreach ($type as $disable_type) {
                $this->disable($disable_type);
            }
            return;
        }
        // Empty string is an equivalent for all types.
        if ($type == '') {
            $type = 'all';
        }
        $this->disabled_types[$type] = true;
    }