public static function add($query, $time = 0)
	{
		list($file, $line) = self::parseBacktrace();
		list($type)        = explode(' ', $query, 2);

		self::write("$file $line " . strtoupper($type) . " {$time} " . str_replace("\n", ' ', $query));
	}
public static function add($query, $time = 0)
	{
		list($file, $line) = self::parseBacktrace();
		list($type)        = explode(' ', $query, 2);

		self::write("$file $line " . strtoupper($type) . " {$time} " . str_replace("\n", ' ', $query));
	}
public static function add ( $ query , $ time = 0 ) { list ( $ file , $ line ) = self :: parseBacktrace ( ) ; list ( $ type ) = explode ( ' ' , $ query , 2 ) ; self :: write ( "$file $line " . strtoupper ( $ type ) . " {$time} " . str_replace ( "\n" , ' ' , $ query ) ) ; }
Logs queries to hubzero sql log

@param   string  $query  The query to log
@param   int     $time   The query time
@return  void
@since   2.0.0
Logs queries to hubzero sql log