anchor.diff:  	End = erlang:universaltime(),
   	query_acct_log(Match, Start, End).
   
  --spec ql(Type, Match, Start, End) -> Events
  -	when
  -		Type :: acct | auth,
  +-spec ql(Log, Match, Start, End) -> Events
  +	when
  +		Log :: acct | auth,
   		Match :: DiameterMatchSpec | RatedMatchSpec,
   		DiameterMatchSpec :: {DiameterMatchHead, MatchConditions},
   		DiameterMatchHead :: #'3gpp_ro_CCR'{} | #'3gpp_ro_CCA'{},
  
positive.code: 
  %% export the user_default public API
  -export([help/0, di/0, di/1, di/2, dc/0]).
  -export([ql/2, ql/3, ql/4]).
  
  -include_lib("ocs/include/ocs.hrl").
  -include_lib("ocs/include/ocs_log.hrl").
  
negative.code: %%
  %% 	End time will be now.
  %%
  ql(acct = _Log, {MatchHead, MatchConditions} = Match,
  		{{_, _, _}, {_, _, _}} = Start)
  		when is_list(MatchConditions),
  		(is_record(MatchHead, '3gpp_ro_CCR')
  