src/DBA/DBA.php
public static function getLog($empty = false)
    {
        $log = self::$log;
        if ($empty) {
            self::emptyLog();
        }
        return $log;
    }
public static function getLog($empty = false)
    {
        $log = self::$log;
        if ($empty) {
            self::emptyLog();
        }
        return $log;
    }
public static function getLog ( $ empty = false ) { $ log = self :: $ log ; if ( $ empty ) { self :: emptyLog ( ) ; } return $ log ; }
Returns all log entries and optionally removes them

@param  bool       $empty
@return LogEntry[]
Returns all log entries and optionally removes them