Using boost log and test libraries.