separate logging class