adding Log class