Creating Log class