Implement Log class for #94.