public function turn($toggle)
    {
        if(preg_match_all('/^(on|off) (all)?\s?(debug|info|notice|warn|error|critical|alert|emergency)$/', $toggle, $matches)) {
            $flag = $matches[1][0];
            $all = $matches[2][0];
            $name = $matches[3][0];
            $this->sieve->toggle($flag, $name);
            if($all === 'all') {
                self::$SIEVE->toggle($flag, $name);
            }
        } else {
            throw new \InvalidArgumentException("Invalid format: $toggle");
        }
    }