Refactored TraceLogger into ValueLogger