Add Log class.