refine Logging class