public static function all($flip = false)
    {
        if (empty(self::$levels)) {
            $class        = new ReflectionClass(new LogLevel);
            self::$levels = $class->getConstants();
        }

        return $flip ? array_flip(self::$levels) : self::$levels;
    }
public static function all($flip = false)
    {
        if (empty(self::$levels)) {
            $class        = new ReflectionClass(new LogLevel);
            self::$levels = $class->getConstants();
        }

        return $flip ? array_flip(self::$levels) : self::$levels;
    }
public static function all ( $ flip = false ) { if ( empty ( self :: $ levels ) ) { $ class = new ReflectionClass ( new LogLevel ) ; self :: $ levels = $ class -> getConstants ( ) ; } return $ flip ? array_flip ( self :: $ levels ) : self :: $ levels ; }
Get PSR log levels.

@param  bool|false  $flip

@return array
Get PSR log levels .