private function prepend($log_level) 
	{
		$time = date('Y-m-d G:i:s');

		switch ($log_level) {
			
			case self::FATAL:
				return $time . ' - FATAL - ';
				break;

			case self::ERROR:
				return $time . ' - ERROR - ';
				break;

			case self::WARN:
				return $time . ' - WARN  - ';
				break;

			case self::INFO:
				return $time . ' - INFO  - ';
				break;

			case self::DEBUG:
				return $time . ' - DEBUG - ';
				break;

			case self::QUERY:
				return $time . ' - QUERY - ';
				break;

			default:
				return $time . ' - LOG   - ';
		} 
	}
private function prepend($log_level) 
	{
		$time = date('Y-m-d G:i:s');

		switch ($log_level) {
			
			case self::FATAL:
				return $time . ' - FATAL - ';
				break;

			case self::ERROR:
				return $time . ' - ERROR - ';
				break;

			case self::WARN:
				return $time . ' - WARN  - ';
				break;

			case self::INFO:
				return $time . ' - INFO  - ';
				break;

			case self::DEBUG:
				return $time . ' - DEBUG - ';
				break;

			case self::QUERY:
				return $time . ' - QUERY - ';
				break;

			default:
				return $time . ' - LOG   - ';
		} 
	}
private function prepend ( $ log_level ) { $ time = date ( 'Y-m-d G:i:s' ) ; switch ( $ log_level ) { case self :: FATAL : return $ time . ' - FATAL - ' ; break ; case self :: ERROR : return $ time . ' - ERROR - ' ; break ; case self :: WARN : return $ time . ' - WARN  - ' ; break ; case self :: INFO : return $ time . ' - INFO  - ' ; break ; case self :: DEBUG : return $ time . ' - DEBUG - ' ; break ; case self :: QUERY : return $ time . ' - QUERY - ' ; break ; default : return $ time . ' - LOG   - ' ; } }
format the line prefix
format the line prefix