Add new constructor for CLogger to match old signature