public function logs( $type = false, $user = false, $title = false, $start = false, $end = false, $dir = 'older', $pgTag = false, $prop = array(
		'ids', 'title', 'type', 'user', 'userid', 'timestamp', 'comment', 'parsedcomment', 'details', 'tags'
	), $limit = 50 ) {

		$leArray = array(
			'list'   => 'logevents',
			'_code'  => 'le',
			'ledir'  => $dir,
			'leprop' => implode( '|', $prop ),
			'_limit' => $limit
		);

		if( $type ) $leArray['letype'] = $type;
		if( $start ) $leArray['lestart'] = $start;
		if( $end ) $leArray['leend'] = $end;
		if( $user ) $leArray['leuser'] = $user;
		if( $title ) $leArray['letitle'] = $title;
		if( $pgTag ) $leArray['letag'] = $pgTag;

		Hooks::runHook( 'PreQueryLog', array( &$leArray ) );

		if( $type ) {
			if( $title || $user ) $title = ' for ' . $title;
			pecho( "Getting $type logs{$title}{$user}...\n\n", PECHO_NORMAL );
		} else {
			pecho( "Getting logs...\n\n", PECHO_NORMAL );
		}

		return $this->listHandler( $leArray );
	}