class AccountService {

	public List<Account> findAccountsByType(String id, AccountType type) {

		logger.debug("AccountService.findAccount: id=" + id + " and type: " + type.toString());

		List<Account> account = accounts.findByUseridAndType(id,type);
		
		logger.debug("Found " + account.size() + " account(s).");
		
		logger.info(String.format("AccountService.findAccount - retrieved account with id: %s. Payload is: %s", id, account));

		return account;
	}

}