Fixed methods declaration in logging class