Unified logger class