Add simple logger for BBS algorithm.